dialog_schedule.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:layout_width="fill_parent"
  3. android:layout_height="fill_parent"
  4. android:background="@drawable/section"
  5. android:orientation="vertical"
  6. android:padding="7dp">
  7. <LinearLayout
  8. android:id="@+id/ll_dialog_schedule_buttons"
  9. android:layout_width="fill_parent"
  10. android:layout_height="wrap_content"
  11. android:layout_alignParentBottom="true"
  12. android:orientation="horizontal" >
  13. <Button
  14. android:id="@+id/bt_schedule_close"
  15. android:layout_width="0dp"
  16. android:layout_height="wrap_content"
  17. android:layout_marginBottom="5dp"
  18. android:layout_marginEnd="25dp"
  19. android:layout_marginLeft="25dp"
  20. android:layout_marginRight="25dp"
  21. android:layout_marginStart="25dp"
  22. android:layout_marginTop="5dp"
  23. android:layout_weight=".5"
  24. android:background="@drawable/button_selector"
  25. android:minHeight="40dp"
  26. android:text="@string/schedule_close"
  27. android:textColor="@color/input_button_color"
  28. android:textStyle="bold"/>
  29. </LinearLayout>
  30. <LinearLayout
  31. android:layout_width="match_parent"
  32. android:layout_height="wrap_content"
  33. android:layout_above="@id/ll_dialog_schedule_buttons"
  34. android:layout_alignParentTop="true"
  35. android:orientation="vertical"
  36. android:padding="10dp" >
  37. <TextView
  38. android:id="@+id/tv_dialog_schedule_title"
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:textAppearance="@android:style/TextAppearance.Large"/>
  42. <LinearLayout
  43. android:orientation="vertical"
  44. android:layout_width="match_parent"
  45. android:layout_height="match_parent"
  46. android:background="@drawable/entry"
  47. android:padding="7dp">
  48. <TextView
  49. android:id="@+id/tv_dialog_schedule_description"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:layout_margin="10dp"
  53. android:textAppearance="@android:style/TextAppearance.Medium"/>
  54. <TextView
  55. android:id="@+id/tv_dialog_schedule_host"
  56. android:layout_width="wrap_content"
  57. android:layout_height="wrap_content"
  58. android:layout_marginLeft="10dp"
  59. android:layout_marginStart="5dp"
  60. android:textStyle="italic"
  61. android:visibility="gone"
  62. android:textAppearance="@android:style/TextAppearance.Small"/>
  63. <LinearLayout
  64. android:layout_width="match_parent"
  65. android:layout_height="wrap_content"
  66. android:layout_marginTop="10dp" >
  67. <TextView
  68. android:id="@+id/tv_dialog_schedule_date"
  69. android:layout_width="wrap_content"
  70. android:layout_height="wrap_content"
  71. android:textAppearance="@android:style/TextAppearance.Medium"/>
  72. <TextView
  73. android:id="@+id/tv_dialog_schedule_time"
  74. android:layout_width="wrap_content"
  75. android:layout_height="wrap_content"
  76. android:layout_marginLeft="10dp"
  77. android:layout_marginStart="10dp"
  78. android:textAppearance="@android:style/TextAppearance.Medium"/>
  79. </LinearLayout>
  80. <LinearLayout
  81. android:layout_width="match_parent"
  82. android:layout_height="wrap_content"
  83. android:layout_margin="10dp"
  84. android:orientation="horizontal" >
  85. <ImageView
  86. android:id="@+id/imageView1"
  87. android:layout_width="wrap_content"
  88. android:layout_height="fill_parent"
  89. android:adjustViewBounds="true"
  90. android:contentDescription="@string/arrow_right"
  91. android:maxHeight="50dp"
  92. android:maxWidth="50dp"
  93. android:scaleType="centerInside"
  94. android:src="@drawable/pinpoint" />
  95. <LinearLayout
  96. android:layout_width="match_parent"
  97. android:layout_height="wrap_content"
  98. android:orientation="vertical" >
  99. <TextView
  100. android:id="@+id/tv_dialog_schedule_place"
  101. android:layout_width="wrap_content"
  102. android:layout_height="wrap_content"
  103. android:textAppearance="@android:style/TextAppearance.Medium"/>
  104. <TextView
  105. android:id="@+id/tv_dialog_schedule_address"
  106. android:layout_width="wrap_content"
  107. android:layout_height="wrap_content"
  108. android:textStyle="italic"
  109. android:textAppearance="@android:style/TextAppearance.Small"/>
  110. </LinearLayout>
  111. </LinearLayout>
  112. <LinearLayout
  113. android:layout_width="fill_parent"
  114. android:layout_height="fill_parent"
  115. android:layout_margin="20dp"
  116. android:background="@drawable/dialog_schedule_map"
  117. android:padding="3dp" >
  118. <com.google.android.gms.maps.MapView
  119. android:id="@+id/mv_dialog_schedule_map"
  120. android:layout_width="fill_parent"
  121. android:layout_height="fill_parent" >
  122. </com.google.android.gms.maps.MapView>
  123. </LinearLayout>
  124. </LinearLayout>
  125. </LinearLayout>
  126. </RelativeLayout>