我有拐角标记问题。Android:圆角在不同的Android版本中工作不同
这是我的形状文件。
<stroke
android:width="1dp"
android:color="#ff999999" />
<size android:height="40dp" />
<gradient
android:angle="90"
android:centerColor="#f5f5f5"
android:endColor="#fcfcfc"
android:startColor="#efefef"
android:type="linear" />
<corners
android:bottomLeftRadius="0dip"
android:bottomRightRadius="8dip"
android:topLeftRadius="8dip"
android:topRightRadius="0dip" />
但是,当我将它设置为视图的背景。它在Android 2.2和Android 4.0.3中显示不同的形状。 当它在Android 4.0.3运行:running on Android 4.0.3 而在Android 2.2:Running on Android 2.2
请参阅 “告知” 按钮。 你知道为什么吗?我该如何解决它? 请帮帮我! 对不起,因为我的英文不太好。
Android 4.3不存在。当前版本是4.1.1 – 2012-07-27 18:09:48
他可能意思是4.0.3 – kcoppock 2012-07-27 19:41:58
是的,对不起。我的意思是4.0.3 – gZerone 2012-07-28 01:56:11