特牛生活网

android:layout_x,Android5.X之PercentLayout-CSDN博客

网友收藏
文章浏览阅读178次。引入依赖库compile 'com.android.support:percent:24.x.x'主要类PercentRelativeLayout(继承自RelativeLayout)PercentFrameLayout(继承自FrameLayout )属性layout_widthPercent 设置控件宽度为父容器的宽的百分比layout_heightPercent 设置控件高度为父容器的高的百..._layout_widthpercent