03 2016 档案
摘要:采用线性布局,将图片保存在xml文件中;在java后台代码中调用数组储存,加入添加点击事件,使单击图片之后循环遍历数组中的每一张图; 具体代码如下: xml代码: <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="h
阅读全文
摘要:使用<EditText/><TextView><ImageButton/>组件xml中开发界面;使用findViewById、OnClickListener后台绑定事件: 使用<RadioGroup>,<RadioButton>组件实现单选框 具体代码如下: xml代码: <?xml version
阅读全文