android百分比布局PercentRelativeLayout

此布局可以实现按照屏幕比例配置控件所占百分比大小进行适配,并且不受手机横竖屏影响 下面展示布局样式 操作: 1、加入依赖包 dependencies { compile 'com.android.support:percent:25.3.0' } 2、布局中使用 <android.support.percent.PercentRelativeLayout xmlns:android
相关文章
相关标签/搜索