Advertisement
Guest User

Untitled

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