fragment_layout_activity_past.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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:paddingStart="20dp"
  31. android:paddingTop="4dp"
  32. android:textColor="@color/section_title"/>
  33. <LinearLayout
  34. android:orientation="vertical"
  35. android:layout_width="match_parent"
  36. android:layout_height="match_parent"
  37. android:background="@drawable/entry"
  38. android:padding="7dp"
  39. android:layout_margin="8dp">
  40. <TextView
  41. android:layout_width="fill_parent"
  42. android:layout_height="wrap_content"
  43. android:id="@+id/tv_activity_past_date"
  44. android:textAppearance="?android:attr/textAppearanceMedium"
  45. android:textColor="@color/entry_title"
  46. android:textStyle="bold"/>
  47. <TextView
  48. android:layout_width="wrap_content"
  49. android:layout_height="wrap_content"
  50. android:id="@+id/tv_activity_past_city"
  51. android:textAppearance="?android:attr/textAppearanceMedium"
  52. android:textColor="@color/entry_title"
  53. android:textStyle="bold"/>
  54. <ImageView
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:id="@+id/iv_activity_past_0"
  58. android:layout_gravity="center_horizontal"
  59. android:contentDescription="@string/empty"
  60. android:visibility="gone"
  61. android:maxHeight="90dp"/>
  62. <WebView
  63. android:layout_width="match_parent"
  64. android:layout_height="wrap_content"
  65. android:id="@+id/wv_activity_past_text"
  66. android:layout_marginTop="10dp"
  67. android:layout_marginBottom="10dp" />
  68. <LinearLayout
  69. android:orientation="horizontal"
  70. android:layout_width="match_parent"
  71. android:layout_height="match_parent"
  72. android:gravity="center_horizontal"
  73. android:layout_gravity="center_horizontal"
  74. android:layout_marginBottom="15dp">
  75. <ImageView
  76. android:layout_width="wrap_content"
  77. android:layout_height="wrap_content"
  78. android:id="@+id/iv_activity_past_1"
  79. android:contentDescription="@string/app_cdesc"
  80. android:visibility="gone"
  81. android:layout_gravity="center_horizontal"
  82. android:maxHeight="50dp" />
  83. <ImageView
  84. android:layout_width="wrap_content"
  85. android:layout_height="wrap_content"
  86. android:id="@+id/iv_activity_past_2"
  87. android:contentDescription="@string/empty"
  88. android:visibility="gone"
  89. android:maxHeight="50dp" />
  90. <ImageView
  91. android:layout_width="wrap_content"
  92. android:layout_height="wrap_content"
  93. android:id="@+id/iv_activity_past_3"
  94. android:contentDescription="@string/app_cdesc"
  95. android:visibility="gone"
  96. android:maxHeight="50dp" />
  97. <ImageView
  98. android:layout_width="wrap_content"
  99. android:layout_height="wrap_content"
  100. android:id="@+id/iv_activity_past_4"
  101. android:contentDescription="@string/empty"
  102. android:visibility="gone"
  103. android:maxHeight="50dp" />
  104. </LinearLayout>
  105. </LinearLayout>
  106. </LinearLayout>
  107. </LinearLayout>
  108. </com.ivalentin.margolariak.CustomScrollView>