摘要: 目标:实现textview和ImageButton组合,可以通过Xml设置自定义控件的属性。 1.控件布局:以Linearlayout为根布局,一个TextView,一个ImageButton。 Xml代码 1<?xmlversion="1.0"encoding="utf-8"?>2 <LinearLayoutxmlns:Android="http://schemas.android.com/apk/res/android"3 android:layout_width="fill_parent"a 阅读全文
posted @ 2011-10-12 22:39 my favorite 阅读(4497) 评论(0) 推荐(1) 编辑