PercentLayout原理以及扩展 - 简书
2016年6月27日 - 属性也支持使用百分比控制,这是layout_weight不具备的...layout_widthPercent layout_heightPercent layout_margin...使用 在module级别的build.gradl...
Android在Layout中支持百分比 - OPEN 开发经验库
2015年7月6日 - (多个标签用逗号分隔)Android Layout终于支持百分比了依赖 xml dependencies {...layout_heightPercent="40%" app:layout_widthPercent="50%"> <View android:...