摘要: android 中所有的控件都是继承view,如果你认为你有能力,你可以修改framework,你可以把任何控件嵌入到别的控件中。1.第一你要创建一个线性布局,水平的,一个textview,一个button.我直接上源码:public class TestItemView extends LinearLayout {Context context;private TextView text;private Button btn;private LayoutParams a ;Drawable getIcon(int resource) {return getResources().getDra 阅读全文
posted @ 2012-05-18 22:11 坏混混 阅读(1631) 评论(0) 推荐(0) 编辑
摘要: Android应用程序在使用很多功能的时候必须在Mainifest.xml中声明所需的权限,否则无法运行。Android中为应用程序准备了很多可选权限,下面是Android应用程序权限清单: android.permission.ACCESS_CHECKIN_PROPERTIES :Allows read/write access to the “properties” table in the checkin database, to change values that get uploaded.允许以read/write访问检入数据库(checkin database?)的"p 阅读全文
posted @ 2012-05-18 16:16 坏混混 阅读(467) 评论(0) 推荐(0) 编辑