activity_sponsor.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <LinearLayout
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="fill_parent"
  7. android:orientation="vertical"
  8. android:background="@color/background_app">
  9. <LinearLayout
  10. android:layout_width="fill_parent"
  11. android:layout_height="wrap_content"
  12. android:background="@color/background_menu"
  13. android:gravity="center_vertical"
  14. android:orientation="horizontal"
  15. android:padding="2dp">
  16. <ImageView
  17. android:contentDescription="@string/app_name"
  18. android:layout_width="wrap_content"
  19. android:layout_height="match_parent"
  20. android:id="@+id/iv_logo"
  21. android:src="@drawable/ic_launcher"
  22. android:adjustViewBounds="true"
  23. android:layout_weight=".2"
  24. android:maxHeight="45dp"
  25. android:maxWidth="45dp"
  26. android:padding="1dp"
  27. android:layout_gravity="center_vertical"/>
  28. <LinearLayout
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:layout_gravity="center_vertical|center"
  32. android:layout_weight=".8"
  33. android:gravity="center"
  34. android:orientation="vertical" >
  35. <TextView
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:gravity="center"
  39. android:text="@string/app_name"
  40. android:contentDescription="@string/app_name"
  41. android:textSize="18sp"
  42. android:textStyle="bold"
  43. android:textColor="@color/menu_entry"/>
  44. <TextView
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content"
  47. android:gravity="center"
  48. android:text="@string/pop_menu_sponsors"
  49. android:textSize="20sp"
  50. android:textColor="@color/menu_entry"/>
  51. </LinearLayout>
  52. <ImageButton
  53. android:layout_width="40dp"
  54. android:layout_height="match_parent"
  55. android:src="@android:drawable/ic_menu_revert"
  56. android:onClick="finish"
  57. android:contentDescription="@string/accept"
  58. android:layout_weight=".2"
  59. android:id="@+id/bt_back"
  60. app:srcCompat="@android:drawable/ic_menu_revert"
  61. android:background="#00000000"/>
  62. </LinearLayout>
  63. <ScrollView
  64. android:layout_width="fill_parent"
  65. android:layout_height="wrap_content"
  66. android:background="@color/background_app"
  67. >
  68. <LinearLayout
  69. android:id="@+id/ll_sponsors_section"
  70. android:layout_width="match_parent"
  71. android:layout_height="wrap_content"
  72. android:orientation="vertical"
  73. android:background="@drawable/section"
  74. android:layout_marginBottom="40dp"
  75. android:layout_marginEnd="10dp"
  76. android:layout_marginLeft="10dp"
  77. android:layout_marginRight="10dp"
  78. android:layout_marginStart="10dp"
  79. android:layout_marginTop="10dp">
  80. <TextView
  81. android:layout_width="match_parent"
  82. android:layout_height="wrap_content"
  83. android:text="@string/pop_menu_sponsors"
  84. android:textAppearance="?android:attr/textAppearanceLarge"
  85. android:textStyle="bold"
  86. tools:layout_width="match_parent"
  87. android:background="@drawable/section_title"
  88. android:paddingBottom="4dp"
  89. android:paddingEnd="10dp"
  90. android:paddingLeft="20dp"
  91. android:paddingRight="10dp"
  92. android:paddingStart="20dp"
  93. android:paddingTop="4dp"
  94. android:textColor="@color/section_title"/>
  95. <LinearLayout
  96. android:orientation="vertical"
  97. android:layout_width="match_parent"
  98. android:layout_height="match_parent"
  99. android:id="@+id/ll_sponsor_list"
  100. android:layout_marginBottom="20dp">
  101. </LinearLayout>
  102. </LinearLayout>
  103. </ScrollView>
  104. </LinearLayout>