Android開發相關:(09)定義圓角矩形

[html] <?xml version="1.0" encoding="utf-8"?> 
<shape xmlns:android="http://schemas.android.com/apk/res/android" > 
 
    <solid android:color="#f0600000" /> 
 
    <stroke 
        android:width="3dp" 
        android:color="#ffff8080" /> 
 
    <corners android:radius="13dp" /> 
 
    <padding 
        android:bottom="10dp" 
        android:left="10dp" 
        android:right="10dp" 
        android:top="10dp" /> 
 
</shape> 

摘自 horsttnann的專欄

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *