Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.51 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.v4.widget.DrawerLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:id="@+id/drawer_layout"
  7. android:layout_width="match_parent"
  8. android:layout_height="match_parent"
  9. android:fitsSystemWindows="true"
  10. tools:openDrawer="start">
  11. <include
  12. layout="@layout/app_bar_main"
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent"/>
  15.  
  16. <com.rom4ek.arcnavigationview.ArcNavigationView
  17. android:id="@+id/nav_view"
  18. android:layout_width="wrap_content"
  19. android:layout_height="match_parent"
  20. android:layout_gravity="start"
  21. android:background="@android:color/white"
  22. android:fitsSystemWindows="true"
  23. app:arc_cropDirection="cropInside"
  24. app:arc_width="96dp"
  25. app:itemBackground="@android:color/white"
  26. app:headerLayout="@layout/nav_header_main"
  27. app:menu="@menu/activity_main_drawer"/>
  28.  
  29.  
  30. <com.rom4ek.arcnavigationview.ArcNavigationView
  31. android:id="@+id/nav_view_right"
  32. android:layoutDirection="rtl"
  33. android:layout_width="wrap_content"
  34. android:layout_height="match_parent"
  35. android:layout_gravity="end"
  36. android:background="@android:color/white"
  37. android:fitsSystemWindows="true"
  38. app:arc_cropDirection="cropOutside"
  39. app:arc_width="72dp"
  40. app:itemBackground="@android:color/white"
  41. app:headerLayout="@layout/nav_header_main"
  42. app:menu="@menu/activity_main_drawer"/>'
  43.  
  44.  
  45. <LinearLayout
  46. android:id="@+id/linear"
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:orientation="vertical"
  50. android:layout_marginTop="6dp"
  51. android:layout_below="@+id/frameLayout"
  52. >
  53. <FrameLayout
  54. android:id="@+id/frameLayout"
  55. android:layout_width="match_parent"
  56. android:layout_height="250dp">
  57.  
  58. <ImageView
  59. android:layout_width="match_parent"
  60. android:layout_height="250dp"
  61. android:background="@drawable/bg"/>
  62.  
  63. <LinearLayout
  64. android:layout_width="match_parent"
  65. android:layout_height="180dp"
  66. android:orientation="vertical">
  67.  
  68. <LinearLayout
  69. android:layout_width="match_parent"
  70. android:layout_height="wrap_content"
  71. android:orientation="horizontal"
  72. android:weightSum="2">
  73.  
  74. <ImageView
  75. android:id="@+id/back"
  76. android:layout_width="0dp"
  77. android:layout_height="24dp"
  78. android:layout_margin="16dp"
  79. android:layout_weight="0.2"
  80. android:src="@drawable/menu" />
  81.  
  82.  
  83. <com.usalamatechnology.manageapp.TextView_Lato
  84. android:layout_width="0dp"
  85. android:layout_height="wrap_content"
  86. android:layout_marginBottom="5dp"
  87. android:layout_marginLeft="14dp"
  88. android:layout_marginRight="14dp"
  89. android:layout_marginTop="50dp"
  90. android:layout_weight="1.6"
  91. android:id="@+id/trips_today"
  92. android:gravity="center_horizontal"
  93. android:text="Number of trips"
  94. android:textColor="#fff"
  95. android:textSize="16dp"
  96. android:textStyle="bold"
  97.  
  98. />
  99.  
  100. </LinearLayout>
  101.  
  102. <LinearLayout
  103. android:layout_width="match_parent"
  104. android:layout_height="wrap_content"
  105. android:layout_marginTop="10dp"
  106. android:gravity="center_horizontal"
  107. android:orientation="horizontal">
  108.  
  109. <com.usalamatechnology.manageapp.TextView_Lato
  110. android:layout_width="wrap_content"
  111. android:layout_height="wrap_content"
  112. android:text="0"
  113. android:id="@+id/total_trips"
  114. android:textColor="#fff"
  115. android:textSize="20dp"
  116. android:textStyle="bold" />
  117.  
  118. <com.usalamatechnology.manageapp.Textview_lato_thin
  119. android:layout_width="wrap_content"
  120. android:layout_height="wrap_content"
  121. android:layout_marginLeft="3dp"
  122. android:text="trip(s)"
  123. android:textColor="#fff"
  124. android:textSize="14dp" />
  125.  
  126.  
  127.  
  128. </LinearLayout>
  129.  
  130. <LinearLayout
  131. android:layout_width="match_parent"
  132. android:layout_height="wrap_content"
  133. android:layout_marginTop="10dp"
  134. android:gravity="center_horizontal"
  135. android:orientation="horizontal">
  136.  
  137.  
  138.  
  139. <com.usalamatechnology.manageapp.Textview_lato_thin
  140. android:layout_width="wrap_content"
  141. android:layout_height="wrap_content"
  142. android:layout_gravity="center_vertical"
  143. android:layout_marginLeft="5dp"
  144. android:text="Teller"
  145. android:id="@+id/driver_car"
  146. android:textColor="#fff"
  147. android:textSize="14dp" />
  148.  
  149.  
  150.  
  151. </LinearLayout>
  152.  
  153.  
  154.  
  155. </LinearLayout>
  156.  
  157. <LinearLayout
  158. android:layout_width="match_parent"
  159. android:layout_height="68dp"
  160. android:layout_marginTop="185dp"
  161. android:gravity="center_horizontal"
  162. android:orientation="horizontal">
  163.  
  164.  
  165. <Button
  166. android:id="@+id/makePayment"
  167. android:layout_width="wrap_content"
  168. android:layout_height="wrap_content"
  169. android:layout_gravity="center_vertical"
  170. android:layout_marginLeft="5dp"
  171. android:background="@drawable/roun_rect_white"
  172. android:text="Pay"
  173. android:textColor="@color/colorGray"
  174. android:textSize="15dp"
  175. android:textStyle="bold" />
  176.  
  177. </LinearLayout>
  178.  
  179.  
  180. </FrameLayout>
  181.  
  182.  
  183. <include
  184. layout="@layout/tripdetail"
  185. android:layout_marginTop="6dp"
  186. android:layout_width="match_parent"
  187. android:layout_height="wrap_content"
  188. android:orientation="vertical"
  189. android:layout_below="@+id/frameLayout"
  190.  
  191. />
  192.  
  193.  
  194. <android.support.v7.widget.RecyclerView
  195. android:layout_height="fill_parent"
  196. android:layout_width="match_parent"
  197. android:layout_marginTop="10dp"
  198. android:layout_marginBottom="5dp"
  199. android:id="@+id/recyclerview"
  200. >
  201. </android.support.v7.widget.RecyclerView>
  202.  
  203. </LinearLayout>
  204.  
  205. /</android.support.v4.widget.DrawerLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement