dialog_schedule.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <RelativeLayout
  2. 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:layout_marginBottom="0dp"
  7. android:layout_marginEnd="0dp"
  8. android:layout_marginLeft="0dp"
  9. android:layout_marginRight="0dp"
  10. android:layout_marginStart="0dp"
  11. android:layout_marginTop="0dp"
  12. android:background="@drawable/section"
  13. android:orientation="vertical"
  14. >
  15. <LinearLayout
  16. android:id="@+id/ll_dialog_schedule_buttons"
  17. android:layout_width="fill_parent"
  18. android:layout_height="wrap_content"
  19. android:layout_alignParentBottom="true"
  20. android:orientation="horizontal">
  21. <Button
  22. android:id="@+id/bt_schedule_close"
  23. android:layout_width="0dp"
  24. android:layout_height="wrap_content"
  25. android:layout_marginBottom="5dp"
  26. android:layout_marginEnd="25dp"
  27. android:layout_marginLeft="25dp"
  28. android:layout_marginRight="25dp"
  29. android:layout_marginStart="25dp"
  30. android:layout_marginTop="5dp"
  31. android:layout_weight=".5"
  32. android:background="@drawable/button_selector"
  33. android:minHeight="40dp"
  34. android:text="@string/schedule_close"
  35. android:textColor="@color/input_button_color"
  36. android:textStyle="bold"/>
  37. </LinearLayout>
  38. <LinearLayout
  39. android:layout_width="match_parent"
  40. android:layout_height="wrap_content"
  41. android:layout_above="@id/ll_dialog_schedule_buttons"
  42. android:layout_alignParentTop="true"
  43. android:orientation="vertical"
  44. android:paddingBottom="15dp">
  45. <TextView
  46. android:id="@+id/tv_dialog_schedule_title"
  47. android:layout_width="fill_parent"
  48. android:layout_height="wrap_content"
  49. android:background="@drawable/section_title"
  50. android:paddingBottom="4dp"
  51. android:paddingEnd="10dp"
  52. android:paddingLeft="20dp"
  53. android:paddingRight="10dp"
  54. android:paddingStart="20dp"
  55. android:paddingTop="4dp"
  56. android:textAppearance="?android:attr/textAppearanceLarge"
  57. android:textColor="@color/section_title"
  58. android:textStyle="bold"/>
  59. <LinearLayout
  60. android:layout_width="match_parent"
  61. android:layout_height="match_parent"
  62. android:layout_margin="8dp"
  63. android:background="@drawable/entry"
  64. android:orientation="vertical"
  65. android:padding="7dp">
  66. <LinearLayout
  67. android:layout_width="match_parent"
  68. android:layout_height="wrap_content"
  69. android:layout_margin="10dp">
  70. <TextView
  71. android:id="@+id/tv_dialog_schedule_date"
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:capitalize="sentences"
  75. android:textAppearance="?android:attr/textAppearanceMedium"
  76. android:textColor="@color/entry_title"
  77. android:textStyle="bold"
  78. tools:ignore="Deprecated,TextViewEdits"/>
  79. <TextView
  80. android:id="@+id/tv_dialog_schedule_time"
  81. android:layout_width="wrap_content"
  82. android:layout_height="wrap_content"
  83. android:layout_marginLeft="10dp"
  84. android:layout_marginStart="10dp"
  85. android:textAppearance="?android:attr/textAppearanceMedium"
  86. android:textColor="@color/entry_title"
  87. android:textStyle="bold"/>
  88. </LinearLayout>
  89. <TextView
  90. android:id="@+id/tv_dialog_schedule_description"
  91. android:layout_width="wrap_content"
  92. android:layout_height="wrap_content"
  93. android:layout_margin="10dp"
  94. android:textAppearance="@android:style/TextAppearance.Medium"/>
  95. <TextView
  96. android:id="@+id/tv_dialog_schedule_host"
  97. android:layout_width="wrap_content"
  98. android:layout_height="wrap_content"
  99. android:layout_marginLeft="15dp"
  100. android:layout_marginStart="15dp"
  101. android:textAppearance="@android:style/TextAppearance.Small"
  102. android:textStyle="italic"
  103. android:visibility="gone"/>
  104. <LinearLayout
  105. android:layout_width="match_parent"
  106. android:layout_height="wrap_content"
  107. android:layout_margin="15dp"
  108. android:orientation="horizontal">
  109. <ImageView
  110. android:id="@+id/imageView1"
  111. android:layout_width="wrap_content"
  112. android:layout_height="fill_parent"
  113. android:adjustViewBounds="true"
  114. android:contentDescription="@string/arrow_right"
  115. android:maxHeight="50dp"
  116. android:maxWidth="50dp"
  117. android:scaleType="centerInside"
  118. android:src="@drawable/pinpoint"/>
  119. <LinearLayout
  120. android:layout_width="match_parent"
  121. android:layout_height="wrap_content"
  122. android:layout_marginLeft="10dp"
  123. android:layout_marginStart="10dp"
  124. android:orientation="vertical">
  125. <TextView
  126. android:id="@+id/tv_dialog_schedule_place"
  127. android:layout_width="wrap_content"
  128. android:layout_height="wrap_content"
  129. android:textAppearance="@android:style/TextAppearance.Medium"/>
  130. <TextView
  131. android:id="@+id/tv_dialog_schedule_address"
  132. android:layout_width="wrap_content"
  133. android:layout_height="wrap_content"
  134. android:textAppearance="@android:style/TextAppearance.Small"
  135. android:textStyle="italic"/>
  136. </LinearLayout>
  137. </LinearLayout>
  138. <LinearLayout
  139. android:layout_width="fill_parent"
  140. android:layout_height="fill_parent"
  141. android:layout_margin="20dp"
  142. android:padding="3dp">
  143. <com.google.android.gms.maps.MapView
  144. android:id="@+id/mv_dialog_schedule_map"
  145. android:layout_width="fill_parent"
  146. android:layout_height="fill_parent"
  147. android:background="@android:color/black"
  148. android:padding="1dp">
  149. </com.google.android.gms.maps.MapView>
  150. </LinearLayout>
  151. </LinearLayout>
  152. </LinearLayout>
  153. </RelativeLayout>