android shape 怎么在底部画横线
航宇
·
2018-07-30
·
via 博客园 - 航宇
使用layer-list可以,画了两层
|
1
2
3
4
5
6
7
8
9
|
<layer-list>
<!-- This is the line -->
<item android:left="8dp" android:right="8dp"><shape>
<solid android:color="@color/black" />
</shape></item>
<item android:bottom="3dp"><shape>
<solid android:color="@color/white" />
</shape></item>
</layer-list>
|
优点 : 可以控制宽度
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。