fragment_layout_activity_past.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <com.ivalentin.margolariak.CustomScrollView
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="fill_parent"
  6. android:layout_height="match_parent"
  7. android:background="@color/background_app">
  8. <LinearLayout
  9. android:orientation="vertical"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:layout_marginBottom="10dp">
  13. <LinearLayout
  14. android:orientation="vertical"
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:background="@drawable/section"
  18. android:layout_margin="10dp"
  19. tools:ignore="UselessParent">
  20. <TextView
  21. android:layout_width="match_parent"
  22. android:layout_height="wrap_content"
  23. android:id="@+id/tv_activity_past_title"
  24. android:textAppearance="?android:attr/textAppearanceLarge"
  25. android:textStyle="bold"
  26. tools:layout_width="match_parent"
  27. android:background="@drawable/section_title"
  28. android:paddingBottom="4dp"
  29. android:paddingEnd="10dp"
  30. android:paddingLeft="20dp"
  31. android:paddingRight="10dp"
  32. android:paddingStart="20dp"
  33. android:paddingTop="4dp"
  34. android:textColor="@color/section_title"/>
  35. <LinearLayout
  36. android:orientation="vertical"
  37. android:layout_width="match_parent"
  38. android:layout_height="match_parent"
  39. android:background="@drawable/entry"
  40. android:padding="7dp"
  41. android:layout_margin="8dp">
  42. <TextView
  43. android:layout_width="fill_parent"
  44. android:layout_height="wrap_content"
  45. android:id="@+id/tv_activity_past_date"
  46. android:textAppearance="?android:attr/textAppearanceMedium"
  47. android:textColor="@color/entry_title"
  48. android:textStyle="bold"/>
  49. <TextView
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:id="@+id/tv_activity_past_city"
  53. android:textAppearance="?android:attr/textAppearanceMedium"
  54. android:textColor="@color/entry_title"
  55. android:textStyle="bold"/>
  56. <ImageView
  57. android:layout_width="wrap_content"
  58. android:layout_height="wrap_content"
  59. android:id="@+id/iv_activity_past_0"
  60. android:layout_gravity="center_horizontal"
  61. android:contentDescription="@string/empty"
  62. android:visibility="gone"
  63. android:maxHeight="90dp"/>
  64. <WebView
  65. android:layout_width="match_parent"
  66. android:layout_height="wrap_content"
  67. android:id="@+id/wv_activity_past_text"
  68. android:layout_marginTop="10dp"
  69. android:layout_marginBottom="10dp" />
  70. <LinearLayout
  71. android:orientation="horizontal"
  72. android:layout_width="match_parent"
  73. android:layout_height="match_parent"
  74. android:gravity="center_horizontal"
  75. android:layout_gravity="center_horizontal"
  76. android:layout_marginBottom="15dp">
  77. <ImageView
  78. android:layout_width="wrap_content"
  79. android:layout_height="wrap_content"
  80. android:id="@+id/iv_activity_past_1"
  81. android:contentDescription="@string/app_cdesc"
  82. android:visibility="gone"
  83. android:layout_gravity="center_horizontal"
  84. android:maxHeight="50dp" />
  85. <ImageView
  86. android:layout_width="wrap_content"
  87. android:layout_height="wrap_content"
  88. android:id="@+id/iv_activity_past_2"
  89. android:contentDescription="@string/empty"
  90. android:visibility="gone"
  91. android:maxHeight="50dp" />
  92. <ImageView
  93. android:layout_width="wrap_content"
  94. android:layout_height="wrap_content"
  95. android:id="@+id/iv_activity_past_3"
  96. android:contentDescription="@string/app_cdesc"
  97. android:visibility="gone"
  98. android:maxHeight="50dp" />
  99. <ImageView
  100. android:layout_width="wrap_content"
  101. android:layout_height="wrap_content"
  102. android:id="@+id/iv_activity_past_4"
  103. android:contentDescription="@string/empty"
  104. android:visibility="gone"
  105. android:maxHeight="50dp" />
  106. </LinearLayout>
  107. </LinearLayout>
  108. </LinearLayout>
  109. </LinearLayout>
  110. </com.ivalentin.margolariak.CustomScrollView>