Advertisement
Guest User

Untitled

a guest
Jan 21st, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.09 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. tools:context="com.khilman.www.go_send.MapsActivity" >
  6. <LinearLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="wrap_content"
  9. android:orientation="vertical"
  10. android:elevation="1"
  11. android:paddingHorizontal="20dp"
  12. android:paddingVertical="15dp"
  13. android:background="@android:color/white">
  14.  
  15. <TextView
  16. android:id="@+id/tvPickUpFrom"
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:text="Pick up from" />
  20. <LinearLayout
  21. android:layout_width="match_parent"
  22. android:layout_height="1dp"
  23. android:layout_marginHorizontal="0dp"
  24. android:layout_marginVertical="10dp"
  25. android:background="@android:color/darker_gray"></LinearLayout>
  26.  
  27. <TextView
  28. android:id="@+id/tvSendTo"
  29. android:layout_width="match_parent"
  30. android:layout_height="wrap_content"
  31. android:text="Send to" />
  32. </LinearLayout>
  33. <fragment
  34. android:layout_width="match_parent"
  35. android:layout_height="match_parent"
  36. android:id="@+id/map"
  37. android:name="com.google.android.gms.maps.SupportMapFragment"/>
  38.  
  39. <LinearLayout
  40. android:id="@+id/infoPanel"
  41. android:layout_width="match_parent"
  42. android:layout_height="wrap_content"
  43. android:layout_alignParentBottom="true"
  44. android:layout_marginHorizontal="15dp"
  45. android:orientation="vertical">
  46.  
  47. <LinearLayout
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. android:layout_marginHorizontal="10dp"
  51. android:background="@android:color/white"
  52. android:gravity="center"
  53. android:orientation="horizontal">
  54.  
  55. <LinearLayout
  56. android:layout_width="match_parent"
  57. android:layout_height="wrap_content"
  58. android:layout_weight="1"
  59. android:gravity="center"
  60. android:orientation="vertical">
  61.  
  62. <TextView
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:text="Price"
  66. android:textSize="12sp" />
  67.  
  68. <TextView
  69. android:id="@+id/tvPrice"
  70. android:layout_width="wrap_content"
  71. android:layout_height="wrap_content"
  72. android:text="Rp13.000" />
  73.  
  74. </LinearLayout>
  75.  
  76. <LinearLayout
  77. android:layout_width="1dp"
  78. android:layout_height="match_parent"
  79. android:layout_marginTop="5dp"
  80. android:background="@android:color/darker_gray"></LinearLayout>
  81.  
  82. <LinearLayout
  83. android:layout_width="match_parent"
  84. android:layout_height="wrap_content"
  85. android:layout_weight="1"
  86. android:gravity="center"
  87. android:orientation="vertical">
  88.  
  89. <TextView
  90. android:layout_width="wrap_content"
  91. android:layout_height="wrap_content"
  92. android:text="Distance"
  93. android:textSize="12sp" />
  94.  
  95. <TextView
  96. android:id="@+id/tvDistance"
  97. android:layout_width="wrap_content"
  98. android:layout_height="wrap_content"
  99. android:text="0.6 Km" />
  100.  
  101. </LinearLayout>
  102. </LinearLayout>
  103.  
  104. <Button
  105. android:id="@+id/btnNext"
  106. android:layout_width="match_parent"
  107. android:layout_height="wrap_content"
  108. android:text="Next" />
  109. </LinearLayout>
  110.  
  111. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement