Advertisement
Guest User

FromRecordXML

a guest
Jun 25th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:shimmer="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. xmlns:tools="http://schemas.android.com/apk/res-auto"
  7. android:background="@color/grey"
  8. android:orientation="vertical">
  9.  
  10. <android.support.v7.widget.Toolbar
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:background="@color/colorPrimary"
  14. android:id="@+id/toolbar"
  15. android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
  16. >
  17.  
  18. </android.support.v7.widget.Toolbar>
  19.  
  20. <ScrollView
  21. android:layout_width="fill_parent"
  22. android:layout_height="wrap_content">
  23. <LinearLayout
  24. android:layout_width="fill_parent"
  25. android:layout_height="wrap_content"
  26. android:orientation="vertical"
  27. android:id="@+id/linearLayout">
  28.  
  29. <RelativeLayout
  30. android:layout_width="fill_parent"
  31. android:layout_height="1dp"
  32. android:background="#000"
  33. android:layout_marginBottom="10dp">
  34. </RelativeLayout>
  35.  
  36.  
  37.  
  38. <Button
  39. android:layout_width="fill_parent"
  40. android:layout_height="wrap_content"
  41. android:text="Select Image"
  42. android:id="@+id/buttonSelect"
  43. android:background="@drawable/btnshapes"
  44. android:layout_margin="10dp"
  45. />
  46.  
  47. <Button
  48. android:layout_width="fill_parent"
  49. android:layout_height="wrap_content"
  50. android:text="Signature"
  51. android:id="@+id/btn_Signature"
  52. android:background="@drawable/btnshapes"
  53. android:layout_margin="10dp"
  54. />
  55.  
  56. <ImageView
  57. android:layout_gravity="center"
  58. android:layout_marginBottom="@dimen/padding_10"
  59. android:src="@mipmap/ic_launcher_round"
  60. android:layout_width="wrap_content"
  61. android:layout_height="200dp"
  62. android:id="@+id/imageView"
  63. android:visibility="gone"/>
  64. <TextView
  65. android:id="@+id/tv_lokasi"
  66. android:layout_width="wrap_content"
  67. android:layout_height="wrap_content"
  68. android:text="Location Laporan"
  69. android:layout_gravity="left"
  70. android:textColor="#000"
  71. android:layout_marginLeft="30dp"
  72. android:textSize="15sp"
  73. android:fontFamily="sans-serif-light"
  74. android:layout_marginBottom="5dp"
  75. android:visibility="gone"/>
  76. <TextView
  77. android:id="@+id/tv_waktu"
  78. android:layout_width="wrap_content"
  79. android:layout_height="wrap_content"
  80. android:text="Waktu Laporan"
  81. android:layout_gravity="left"
  82. android:textColor="#000"
  83. android:layout_marginLeft="30dp"
  84. android:textSize="15sp"
  85. android:fontFamily="sans-serif-light"
  86. android:layout_marginBottom="22dp"
  87. android:visibility="gone"/>
  88.  
  89. <Button
  90. android:id="@+id/buttonUpload"
  91. android:layout_width="100dp"
  92. android:layout_height="wrap_content"
  93. android:layout_gravity="right"
  94. android:drawableRight="@drawable/ic_navigate_next_black_24dp"
  95. android:background="@drawable/edit_round"
  96. android:text="Upload"
  97. android:layout_marginTop="15dp"
  98. android:layout_marginRight="20dp"
  99. android:textColor="@color/white"
  100. android:layout_margin="10dp"/>
  101.  
  102. </LinearLayout>
  103. </ScrollView>
  104.  
  105. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement