Android Studio 视图与五大布局

一、view视图的共有属性 1.宽高形式: android:layout_width="xx" android:layout_height="xx" 2. 宽高属性:     *固定值单位 dp (距离单位) sp(字体大小单位) px(像素不推荐使用)     *match-parent (fill-parent) 填充满父布局     *wrap-count 内容显示多少 填充布局就显示多少
相关文章
相关标签/搜索