Advertisement
Guest User

Untitled

a guest
Feb 17th, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.58 KB | None | 0 0
  1. ou can create an XML file in the drawable folder. Call it, for example, shape.xml
  2.  
  3. In shape.xml:
  4.  
  5. <shape
  6.    xmlns:android="http://schemas.android.com/apk/res/android"
  7.    android:shape="rectangle"   >
  8.  
  9.     <solid
  10.        android:color="#888888" >
  11.     </solid>
  12.  
  13.     <stroke
  14.        android:width="2dp"
  15.        android:color="#C4CDE0" >
  16.     </stroke>
  17.  
  18.     <padding
  19.        android:left="5dp"
  20.        android:top="5dp"
  21.        android:right="5dp"
  22.        android:bottom="5dp"    >
  23.     </padding>
  24.  
  25.     <corners
  26.        android:radius="11dp"   >
  27.     </corners>
  28.  
  29. </shape>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement