2.5 UI界面属性用法与注意点汇总
android UI界面属性设置代码可以写在layout->values中;
文字也可以写在该目录下,但注意应该新建(更加不容易出错)。
2、android:layout.gravity=”center|top”
Android:layout.textStyle=”bold” 粗体
<include [email protected]/titleView”>
Android:clickable=”true”
Android:adjustViewBounds=”true“ 一般在ImageView中使用,用于调整图片的大小(根据其属性)
Android:[email protected]/t1”
如果要设置一个按钮在页面的底部,但是与底部有有些距离,应该在该按钮的外围设置一个linearLayout,当然其他组建也是。