android:persistent="false"
//Android系统中,有一种永久性应用。它们对应的AndroidManifest.xml文件里,会将persistent属性设为true,
//在系统启动之时,AMS的systemReady()会加载所有persistent为true的应用。
android:allowClearUserData="false"
用户是否能选择自行清除数据,默认为true,程序管理器包含一个选择允许用户清除数据。
android:allowBackup="false"
为应用程序数据的备份和恢复功能,
android:hardwareAccelerated="true"
是否开启硬件加速
android:supportsRtl="true"
声明你的application是否愿意支持从右到左(原来RTL就是right-to-left 的缩写...)的布局。
android:clipChildren="false"
android:clipChildren的意思:是否限制子View在其范围内 做动画的时候有用
只需在根节点设置android:clipChildren为false即可,默认为true
ScrollView.setViewFillPort(true)
当ScrollView里的元素想填满ScrollView时,使用"fill_parent"是不管用的,必须为ScrollView设置:android:fillViewport="true"。
当ScrollView没有fillVeewport=“true”时, 里面的元素(比如LinearLayout)会按照wrap_content来计算(不论它是否设了"fill_parent"),而如果LinearLayout的元素设置了fill_parent,那么也是不管用的,因为LinearLayout依赖里面的元素,而里面的元素又依赖LinearLayout,这样自相矛盾.所以里面元素设
置了fill_parent,也会当做wrap_content来计算.
|