Mechele

Untitled

Feb 10th, 2016
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.42 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:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:weightSum="11"
  7. android:orientation="vertical">
  8. <RelativeLayout
  9. android:id="@+id/pickup_position"
  10. android:layout_width="match_parent"
  11. android:layout_height="0dp"
  12. android:layout_weight="6"
  13. android:gravity="center">
  14. <LinearLayout
  15. android:id="@+id/order_types"
  16. android:layout_width="match_parent"
  17. android:layout_height="50dp"
  18. android:orientation="horizontal"
  19. android:background="@color/busy_base"
  20. android:gravity="center">
  21. <ImageView
  22. android:id="@+id/navigate"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:layout_margin="8dp"
  26. android:contentDescription="Navigate"
  27. android:src="@drawable/order_now_icon"/>
  28. <TextView
  29. android:id="@+id/order_types_text"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:layout_margin="8dp"
  33. android:textSize="23sp"
  34. android:textColor="@color/joblist_header_white"
  35. android:text="NOW"/>
  36. </LinearLayout>
  37. <RelativeLayout
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content"
  40. android:layout_below="@+id/order_types">
  41. <fragment
  42. android:id="@+id/mapfragment"
  43. class="com.taxipixi.map.ExtendedMapFragment"
  44. android:layout_width="fill_parent"
  45. android:layout_height="fill_parent"
  46. android:clickable="true"/>
  47. <RelativeLayout
  48. android:layout_width="100dp"
  49. android:layout_height="50dp"
  50. android:layout_marginLeft="10dp"
  51. android:layout_alignParentBottom="true">
  52. <RelativeLayout
  53. android:layout_width="100dp"
  54. android:layout_height="41dp"
  55. android:background="#ffffff">
  56. <TextView
  57. android:id="@+id/distance_to_order"
  58. android:layout_width="match_parent"
  59. android:layout_height="wrap_content"
  60. android:drawableLeft="@drawable/order_navigation_icon"
  61. android:drawablePadding="10dp"
  62. android:layout_margin="10dp"
  63. android:textSize="18sp"
  64. android:text="12 KM"/>
  65. </RelativeLayout>
  66. </RelativeLayout>
  67. </RelativeLayout>
  68.  
  69. </RelativeLayout>
  70. <RelativeLayout
  71. android:id="@+id/pickup_dropup_details"
  72. android:layout_width="match_parent"
  73. android:layout_height="0dp"
  74. android:layout_weight="4">
  75. <LinearLayout
  76. android:layout_width="match_parent"
  77. android:layout_height="wrap_content"
  78. android:orientation="vertical">
  79. <com.taxipixi.widget.AddressWidget
  80. android:id="@+id/origin"
  81. android:layout_width="fill_parent"
  82. android:layout_height="wrap_content"
  83. android:layout_marginTop="10dp"
  84. android:layout_marginLeft="10dp"
  85. android:textAppearance="?android:attr/textAppearanceMedium"
  86. app:indicator="@drawable/pickup_neworder_icon"
  87. app:label="@string/origin"
  88. app:showCurrentLocationButton="false" />
  89. <com.taxipixi.widget.AddressWidget
  90. android:id="@+id/destination"
  91. android:layout_width="fill_parent"
  92. android:layout_height="wrap_content"
  93. android:layout_marginTop="10dp"
  94. android:layout_marginLeft="10dp"
  95. android:textAppearance="?android:attr/textAppearanceMedium"
  96. app:indicator="@drawable/dropup_neworder_icon"
  97. app:label="@string/destination"
  98. app:showCurrentLocationButton="false" />
  99. <TextView
  100. android:id="@+id/time"
  101. android:layout_width="match_parent"
  102. android:layout_height="wrap_content"
  103. android:drawableLeft="@drawable/pickup_time_icon"
  104. android:drawablePadding="9dp"
  105. android:layout_marginTop="10dp"
  106. android:layout_marginLeft="10dp"
  107. android:textSize="24sp"
  108. android:textColor="@color/busy_base"
  109. android:text="10:10 AM"/>
  110. <TextView
  111. android:id="@+id/cab_types_for_popups"
  112. android:layout_width="match_parent"
  113. android:layout_height="wrap_content"
  114. android:drawableLeft="@drawable/cabs_type_icon"
  115. android:drawablePadding="7dp"
  116. android:layout_marginTop="10dp"
  117. android:layout_marginLeft="10dp"
  118. android:textSize="24sp"
  119. android:text="Sedan"/>
  120. </LinearLayout>
  121. </RelativeLayout>
  122. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment