- 博客(2)
- 收藏
- 关注
转载 Android xml资源文件中@、@android:type、@*、?、@+含义和区别
Android xml资源文件中@、@android:type、@*、?、@+含义和区别 一.@代表引用资源 1.引用自定义资源。格式:@[package:]type/name android:text="@string/hello" 2.引用系统资源。格式:@android:type/name android:textColor
2016-01-21 15:40:16
107
原创 weight属性理解
weight 属性默认值为0; 在两个控件都是默认为0,且layout_width="wrap_content"时, 当text1 weight属性设置为1时, 当text2 weight属性设置为1时, 都为1时, android:layout_weight的真实含义是:一旦View设置了该属性(假设有效的情况下),那么该 View的宽度
2016-01-16 09:46:08
668
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅