摘要: TableLayout的布局属性:android:stretchColumns="1" (设置TableLayout的所有行的第二列为扩展列,第一列后的其余空间由第二列补齐)控件选中效果,xml文件设置:/res/drawable/widget_input.xmlandroid:drawable放一个drawable资源android:state_pressed 是否按下,如一个按钮触摸或者点击。android:state_focused 是否取得焦点,比如用户选择了一个文本框。android:state_hovered 光标是否悬停,通常与focused state相同, 阅读全文
posted @ 2013-07-14 21:30 我是鸡蛋 阅读(1147) 评论(0) 推荐(0) 编辑
摘要: 在Android工程中,设置apk的默认安装位置在AndroidManifest.xml文件Manifest标签中添加android:installLocation属性android:installLocation这个属性设置的是默认安装位置, 共有三个有效值,auto、internalOnly、preferExternal对应表auto 表示自动,由系统决定安装位置internalOnly 安装在手机内存preferExternal 安装在外部存储中ConstantValueDescriptionauto0Let the system decide install locationinter 阅读全文
posted @ 2013-07-14 21:15 我是鸡蛋 阅读(518) 评论(0) 推荐(0) 编辑