2017-11-14 1 views

Antwort

1

erstellen button_background.xml in ziehbar Ordner und fügen Sie diesen Code

<?xml version="1.0" encoding="utf-8"?> 
<selector xmlns:android="http://schemas.android.com/apk/res/android" > 
<item > 
    <shape android:shape="rectangle" > 

     <padding android:left="10dip" android:right="10dip" android:top="5dip" android:bottom="5dip"/> 
     <corners android:bottomRightRadius="5dp" android:bottomLeftRadius="5dp" 
       android:topLeftRadius="5dp" android:topRightRadius="5dp"/> 

     <solid 
      android:color="#f5f5f5"/> 
     <stroke android:width="2dp" android:color="#42A5F5"/> 
    </shape> 
</item> 

Verwandte Themen