Advertisement
Guest User

Untitled

a guest
Feb 27th, 2020
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. <!-- Button -->
  2. <RelativeLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. android:id="@+id/button"
  5. android:layout_width="200dp"
  6. android:layout_height="88dp"
  7. android:layout_alignParentLeft="true"
  8. android:layout_marginLeft="87dp"
  9. android:layout_alignParentTop="true"
  10. android:layout_marginTop="458dp"
  11. android:background="@drawable/button"
  12. />
  13.  
  14.  
  15. <!-- drawable/button.xml -->
  16. <vector
  17. xmlns:android="http://schemas.android.com/apk/res/android"
  18. xmlns:aapt="http://schemas.android.com/aapt"
  19. android:width="200dp"
  20. android:height="88dp"
  21. android:viewportWidth="200"
  22. android:viewportHeight="88"
  23. >
  24.  
  25. <group>
  26.  
  27. <clip-path
  28. android:pathData="M0 0H200V88H0V0Z"
  29. />
  30.  
  31. </group>
  32.  
  33. </vector>
  34.  
  35.  
  36.  
  37. <!-- Heading -->
  38. <RelativeLayout
  39. xmlns:android="http://schemas.android.com/apk/res/android"
  40. android:id="@+id/heading"
  41. android:layout_width="375dp"
  42. android:layout_height="240dp"
  43. android:layout_alignParentLeft="true"
  44. android:layout_alignParentTop="true"
  45. android:layout_marginTop="-24dp"
  46. android:background="@drawable/heading"
  47. />
  48.  
  49.  
  50. <!-- drawable/heading.xml -->
  51. <vector
  52. xmlns:android="http://schemas.android.com/apk/res/android"
  53. xmlns:aapt="http://schemas.android.com/aapt"
  54. android:width="375dp"
  55. android:height="240dp"
  56. android:viewportWidth="375"
  57. android:viewportHeight="240"
  58. >
  59.  
  60. <group>
  61.  
  62. <clip-path
  63. android:pathData="M0 0H375V240H0V0Z"
  64. />
  65.  
  66. </group>
  67.  
  68. </vector>
  69.  
  70.  
  71.  
  72. <!-- Form -->
  73. <RelativeLayout
  74. xmlns:android="http://schemas.android.com/apk/res/android"
  75. android:id="@+id/form"
  76. android:layout_width="312dp"
  77. android:layout_height="298dp"
  78. android:layout_alignParentLeft="true"
  79. android:layout_marginLeft="31dp"
  80. android:layout_alignParentTop="true"
  81. android:layout_marginTop="114dp"
  82. android:background="@drawable/form"
  83. />
  84.  
  85.  
  86. <!-- drawable/form.xml -->
  87. <vector
  88. xmlns:android="http://schemas.android.com/apk/res/android"
  89. xmlns:aapt="http://schemas.android.com/aapt"
  90. android:width="312dp"
  91. android:height="298dp"
  92. android:viewportWidth="312"
  93. android:viewportHeight="298"
  94. >
  95.  
  96. <group>
  97.  
  98. <clip-path
  99. android:pathData="M0 0H312V298H0V0Z"
  100. />
  101.  
  102. </group>
  103.  
  104. </vector>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement