【发布时间】:2015-10-01 09:02:10
【问题描述】:
【问题讨论】:
-
你尝试了什么?
-
我尝试了两个矩形并旋转它们,但我没有绘制 xml 形状的经验..
-
为什么要尝试使用图片
-
我需要然后添加圆角半径 5 dp 像这样:
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > <corners android:radius="5dp"/> <solid android:color="@color/button_buy_pre" /> </shape>
标签: android xml shape diagonal