Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
  3. <item>
  4. <shape
  5. android:shape="rectangle">
  6. <solid android:color="@color/color_default_transparent"/>
  7. <size android:height="60dp" android:width="100dp"/>
  8. </shape>
  9. </item>
  10. <!-- top half ends 8dp from bottom making it 52dp high-->
  11. <item
  12. android:bottom="8dp">
  13. <shape
  14. android:shape="rectangle">
  15. <solid android:color="@android:color/white"/>
  16. </shape>
  17. </item>
  18. <!-- top half starts 57dp from top, making it 3dp high and leaving a 5dp gap -->
  19. <item
  20. android:top="57dp">
  21. <shape
  22. android:shape="rectangle">
  23. <solid android:color="@android:color/white"/>
  24. </shape>
  25. </item>
  26. </layer-list>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement