代码改变世界

随笔档案-2012年10月7日

Head Fisrt Android Development读书笔记(1)Adding Behavior

2012-10-07 23:10 by java20130722, 164 阅读, 收藏,
摘要: Make a button action1. use the Button onClick attribute to declare the name of the action method2.Open the Activity that displays the layout with the Button3.Add a method with a name matching the onClick attribute value4.Make sure that method takes in a single View as a parameter@string/haiku:find i 阅读全文