1 android:gravity用于指定文字在控件中的对齐方式
android:layout_gravity是指控件在布局中的对齐方式
2 百分比布局:PercentFrameLayout,PercentRelativeLayout,使用的时候需要添加依赖库:compile’com.android.support:percent:版本号’
三、四章节重点
最新推荐文章于 2022-07-02 15:14:09 发布
1 android:gravity用于指定文字在控件中的对齐方式
android:layout_gravity是指控件在布局中的对齐方式
2 百分比布局:PercentFrameLayout,PercentRelativeLayout,使用的时候需要添加依赖库:compile’com.android.support:percent:版本号’