我正在尝试重复按钮。我可以重复使用常规背景类型。但是我无法使用重复的xml文件找到正确的,离开的和居中的。如何重复使用圆角?
如果你知道xml文件的一些解决方案,请帮助我。
在此先感谢
我已经使用了重复XML文件
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<bitmap
android:src="@drawable/barslice"
android:tileMode="repeat"
android:dither="true"/>
</item>
我需要的按钮:
我如何重复一个轴,如repeatX或repeatY。现在我需要在右上角重复垂直线。我有一条线。我已经尝试过使用android:gravity =“clip_vertical | right”。但没有任何想法 – arnp 2012-02-07 09:43:06