一个Demo让你掌握所有的android控件
qianqianlianmeng 一个Demo让你掌握所有的android控件 有新的则更新 属性 值 说明 android:orientation horizontal/vertical 设置布局水平还是垂直,默认是垂直 android:checked true/false 标记默认选中,如果是单选则选中最后一个 android:layout_gravity center/right/left/bottom/top 位置 android:gravity center/right/left/bottom/top 位置(android:gravity属性是对该view内容的限定.比如一个button上面的text.你可以设置该text在view的靠左,靠右等位置.该属性就干了这个.android:layout_gravity是用来设置该view相对与起父view的位置.比如一个button在linearlayout里,你想把该button放在靠左靠右等位置就可以通过该属性设置.) android:hint @string 提示信息,当文本框为空的时候显示 android:numeric ...