Advertisement
Guest User

buttons

a guest
Jan 21st, 2018
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <shape xmlns:android="http://schemas.android.com/apk/res/android">
  3. <solid android:color="#64e248"/>
  4. <corners
  5. android:bottomRightRadius="20dp"
  6. android:bottomLeftRadius="20dp"
  7. android:topLeftRadius="20dp"
  8. android:topRightRadius="20dp"/>
  9. </shape>
  10.  
  11. <?xml version="1.0" encoding="utf-8"?>
  12. <shape xmlns:android="http://schemas.android.com/apk/res/android">
  13. <solid android:color="#e2e21d"/>
  14. <corners
  15. android:bottomRightRadius="20dp"
  16. android:bottomLeftRadius="20dp"
  17. android:topLeftRadius="20dp"
  18. android:topRightRadius="20dp"/>
  19. </shape>
  20.  
  21. <?xml version="1.0" encoding="utf-8"?>
  22. <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" android:padding="10dp">
  23. <solid android:color="#37dfe5"/>
  24. <corners
  25. android:bottomRightRadius="20dp"
  26. android:bottomLeftRadius="20dp"
  27. android:topLeftRadius="20dp"
  28. android:topRightRadius="20dp"/>
  29. </shape>
  30.  
  31. <?xml version="1.0" encoding="utf-8"?>
  32. <shape xmlns:android="http://schemas.android.com/apk/res/android">
  33. <solid android:color="#ed1717"/> <!-- this one is ths color of the Rounded Button -->
  34. <corners
  35. android:bottomRightRadius="20dp"
  36. android:bottomLeftRadius="20dp"
  37. android:topLeftRadius="20dp"
  38. android:topRightRadius="20dp"/>
  39. </shape>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement