4
Android的形状,我需要做的容器在这样的背景:与重复背景
背景有这种形状(矩形圆角上角)内重演。
,因为它是什么,我知道不可能执行有9patch, 我已经研究过的形状,但在这里再次,这似乎是不可能得到我想要的东西......
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners
android:topRightRadius="20dp"
android:topLeftRadius="10dp"
android:bottomLeftRadius="0dp"
android:bottomRightRadius="0dp"/>
<solid
android:color="@color/red"/>
</shape>
我可以“T形状链接到我的:
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/point1sur4"
android:tileMode="repeat" />
和我的外形有4个角圆润....
希望你能帮助! THX, 雷诺
位图尝试不具有背景属性 – mGolzadh