android-percent-support-extend
android-percent-support-extend copied to clipboard
a extends lib for android-percent-support(Google百分比布局库的扩展)
PercentLinearLayout使用app:layout_paddingPercent等属性没有效果??需要在PercentLinearLayout里面再套个LinearLayout或其他容器,其他容器里面再使用app:layout_paddingPercent才有效果
举个例子,就是我的宽度设置了是屏幕的20%w,我想把控件的高度设置成此控件宽度的1.5倍,例如app:layout_heightPercentW="1.5" 而不是app:layout_heightPercent="30%w",希望作者加一个这样的功能!
代码补全没有我可以用Live Templates, 可是%sw和%sh无法预览这让人很尴尬呀~ 求解决办法!
Error:(16, 41) String types not allowed (at 'layout_marginBottomPercent' with value '4%w').
在线性布局中使用百分比padding左右后,内部横线放一个imagview和一个textview,当textview也使用百分比padding后出现问题 app:layout_paddingLeftPercent="2%w" app:layout_paddingRightPercent="4%w"
RadioButton这个有百分比嘛?,能添加吗
包入库报错
导入库包如下错: Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found. hy大神,这是为何呢?呵呵