fragment_layout_location.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="fill_parent"
  5. android:layout_height="fill_parent"
  6. android:background="@color/background_app"
  7. android:orientation="vertical"
  8. tools:ignore="Overdraw">
  9. <LinearLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"
  12. android:layout_margin="10dp"
  13. android:background="@drawable/section"
  14. android:orientation="vertical">
  15. <TextView
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:background="@drawable/section_title"
  19. android:paddingBottom="4dp"
  20. android:paddingEnd="10dp"
  21. android:paddingLeft="20dp"
  22. android:paddingRight="10dp"
  23. android:paddingStart="20dp"
  24. android:paddingTop="4dp"
  25. android:text="@string/menu_location"
  26. android:textAppearance="?android:attr/textAppearanceLarge"
  27. android:textColor="@color/section_title"
  28. android:textStyle="bold"
  29. tools:layout_width="match_parent"/>
  30. <LinearLayout
  31. android:layout_width="match_parent"
  32. android:layout_height="match_parent"
  33. android:layout_margin="8dp"
  34. android:background="@drawable/entry"
  35. android:orientation="vertical"
  36. android:padding="7dp">
  37. <TextView
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:text="@string/home_section_location_text_0"
  41. android:textAppearance="?android:attr/textAppearanceMedium"
  42. android:textColor="@color/entry_title"
  43. android:textStyle="bold"/>
  44. <TextView
  45. android:id="@+id/tv_location_distance"
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:layout_margin="10dp"
  49. android:text="@string/home_section_location_text_calculating"
  50. android:textAppearance="?android:attr/textAppearanceSmall"/>
  51. <LinearLayout
  52. android:layout_width="match_parent"
  53. android:layout_height="match_parent"
  54. android:layout_weight=".95"
  55. android:background="@drawable/map"
  56. android:padding="3dp">
  57. <org.osmdroid.views.MapView
  58. android:id="@+id/mapview"
  59. android:layout_width="match_parent"
  60. android:layout_height="match_parent"/>
  61. </LinearLayout>
  62. </LinearLayout>
  63. </LinearLayout>
  64. </LinearLayout>