2011-07-18 43 views
1

我正在使用一個簡單的可繪製矩形作爲android:background作爲對角。android:bottomRightRadius實際上是離開了嗎?

<?xml version="1.0" encoding="UTF-8"?> 
<shape xmlns:android="http://schemas.android.com/apk/res/android" 
    android:shape="rectangle"> 
    <solid 
     android:color="@android:color/white" 
    /> 
    <corners 
     android:radius="1dp" 
     android:topLeftRadius="0dp" 
     android:topRightRadius="40dp" 
     android:bottomLeftRadius="0dp" 
     android:bottomRightRadius="40dp" 
    /> 
</shape> 

我填補了一點點disapointed。可以嗎?

+0

這可能會回答你的問題: http://stackoverflow.com/questions/3056232/how-to-make-a-shape-with-left-top-round- round-corner-and-left-bottom-rounded-co – pqn

+0

這是一個已知的錯誤。請參閱:http://stackoverflow.com/q/6003382/224248 – Chris

回答

相關問題