我有以下矩形黑色與圓角,並希望添加頂部,左側和右側邊框只有白色。如何使形狀的頂部和側面變白?
當我使用中風時,四面都會有邊框,但我不想讓按鈕有一個。
這是我目前的形狀:
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#000000" />
<corners android:radius="1dp" android:topLeftRadius="6dp" android:topRightRadius="6dp" android:bottomLeftRadius="0dp" android:bottomRightRadius="0dp"
android:color="#fffffff"/>
可以請您解釋更多 –
我編輯了圖像。請看白色邊框。邊框應位於上方,左方和右方。但不是在buttom – skm