row_schedule.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:id="@+id/row_schedule"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:baselineAligned="false"
  6. android:clickable="false"
  7. android:focusable="false"
  8. android:focusableInTouchMode="false"
  9. android:orientation="horizontal" >
  10. <RelativeLayout
  11. android:layout_width="fill_parent"
  12. android:layout_height="match_parent"
  13. android:layout_weight=".75"
  14. android:orientation="horizontal"
  15. android:tileMode="repeat" >
  16. <RelativeLayout
  17. android:id="@+id/schedule_timeline"
  18. android:layout_width="20dp"
  19. android:layout_height="fill_parent"
  20. android:layout_alignParentEnd="true"
  21. android:layout_alignParentRight="true"
  22. android:orientation="vertical" >
  23. <ImageView
  24. android:id="@+id/ImageView02"
  25. android:layout_width="1dp"
  26. android:layout_height="fill_parent"
  27. android:layout_centerHorizontal="true"
  28. android:contentDescription="@string/menu_lablanca_schedule"
  29. android:scaleType="fitXY"
  30. android:src="@drawable/timeline" />
  31. <ImageView
  32. android:id="@+id/ImageView01"
  33. android:layout_width="20dp"
  34. android:layout_height="20dp"
  35. android:contentDescription="@string/menu_lablanca_schedule"
  36. android:src="@drawable/schedule_point"
  37. android:layout_marginTop="4dp"/>
  38. </RelativeLayout>
  39. <TextView
  40. android:id="@+id/tv_row_schedule_time"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:layout_alignParentTop="true"
  44. android:layout_toLeftOf="@id/schedule_timeline"
  45. android:layout_toStartOf="@id/schedule_timeline"
  46. android:textAppearance="@android:style/TextAppearance.Medium"/>
  47. </RelativeLayout>
  48. <LinearLayout
  49. android:id="@+id/ll_row_schedule_content"
  50. android:layout_width="fill_parent"
  51. android:layout_height="match_parent"
  52. android:layout_weight=".25"
  53. android:orientation="vertical"
  54. android:paddingBottom="15dp" >
  55. <TextView
  56. android:id="@+id/tv_row_schedule_title"
  57. android:layout_width="wrap_content"
  58. android:layout_height="wrap_content"
  59. android:textAppearance="@android:style/TextAppearance.Large" />
  60. <TextView
  61. android:id="@+id/tv_row_schedule_description"
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:ellipsize="end"
  65. android:maxLines="2"
  66. android:textAppearance="@android:style/TextAppearance.Small"
  67. android:textStyle="italic"
  68. android:textColor="#000000"/>
  69. <LinearLayout
  70. android:orientation="horizontal"
  71. android:layout_width="match_parent"
  72. android:layout_height="wrap_content">
  73. <ImageView
  74. android:contentDescription="@string/app_cdesc"
  75. android:layout_width="30dp"
  76. android:layout_height="30dp"
  77. android:id="@+id/iv_row_schedule_pinpoint"
  78. android:src="@drawable/pinpoint"
  79. android:layout_marginStart="10dp"
  80. android:foregroundGravity="center_vertical"
  81. android:layout_gravity="center_vertical"/>
  82. <LinearLayout
  83. android:orientation="vertical"
  84. android:layout_width="match_parent"
  85. android:layout_height="wrap_content"
  86. android:gravity="center_vertical"
  87. android:layout_gravity="center_vertical">
  88. <TextView
  89. android:id="@+id/tv_row_schedule_place"
  90. android:layout_width="wrap_content"
  91. android:layout_height="wrap_content"
  92. android:gravity="center_vertical"
  93. android:textAppearance="@android:style/TextAppearance.Small"
  94. android:textColor="#000000"/>
  95. <TextView
  96. android:id="@+id/tv_row_schedule_address"
  97. android:layout_width="wrap_content"
  98. android:layout_height="wrap_content"
  99. android:gravity="center_vertical"
  100. android:textStyle="italic"
  101. android:textAppearance="@android:style/TextAppearance.Small"/>
  102. </LinearLayout>
  103. </LinearLayout>
  104. <TextView
  105. android:id="@+id/tv_row_schedule_id"
  106. android:layout_width="wrap_content"
  107. android:layout_height="wrap_content"
  108. android:visibility="gone" />
  109. </LinearLayout>
  110. </LinearLayout>