Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5. <fragment
  6. android:id="@+id/map"
  7. android:layout_width="match_parent"
  8. android:layout_height="match_parent"
  9. android:name="com.google.android.gms.maps.SupportMapFragment"
  10. android:layout_above="@+id/panelInfo"/>
  11. <LinearLayout
  12. android:id="@+id/panelInfo"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:padding="10dp"
  16. android:orientation="vertical"
  17. android:layout_alignParentBottom="true"
  18. android:background="@android:color/white">
  19. <TextView
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:textStyle="bold"
  23. android:text="Route Information :"
  24. android:textSize="18sp"/>
  25. <TextView
  26. android:id="@+id/tvStartAddress"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:text="start address : Jl. Hidupku Cuma Kamu :'"
  30. android:textSize="14sp"/>
  31. <TextView
  32. android:id="@+id/tvEndAddress"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:text="end address : Jl. Hidupku Cuma Kamu :'"
  36. android:textSize="14sp"/>
  37. <TextView
  38. android:id="@+id/tvDistance"
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:text="distance : 0 km"
  42. android:textSize="14sp"/>
  43. <TextView
  44. android:id="@+id/tvDuration"
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content"
  47. android:text="duration : 0 hours"
  48. android:textSize="14sp"/>
  49. </LinearLayout>
  50. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement