participate_layout.xml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Nextcloud Android client application
  4. Copyright (C) 2016 Tobias Kaminsky
  5. Copyright (C) 2016 Nextcloud.
  6. This program is free software; you can redistribute it and/or
  7. modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
  8. License as published by the Free Software Foundation; either
  9. version 3 of the License, or any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU AFFERO GENERAL PUBLIC LICENSE for more details.
  14. You should have received a copy of the GNU Affero General Public
  15. License along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. -->
  17. <android.support.v4.widget.DrawerLayout android:id="@+id/drawer_layout"
  18. xmlns:android="http://schemas.android.com/apk/res/android"
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent"
  21. android:clickable="true"
  22. android:fitsSystemWindows="true">
  23. <!-- The main content view -->
  24. <LinearLayout
  25. android:layout_width="match_parent"
  26. android:layout_height="match_parent"
  27. android:orientation="vertical">
  28. <include
  29. layout="@layout/toolbar_standard"/>
  30. <ScrollView
  31. android:id="@+id/scrollView"
  32. android:layout_width="fill_parent"
  33. android:layout_height="wrap_content">
  34. <LinearLayout
  35. android:layout_width="match_parent"
  36. android:layout_height="wrap_content"
  37. android:orientation="vertical"
  38. android:padding="@dimen/standard_padding">
  39. <TextView
  40. android:id="@+id/participate_headline"
  41. android:layout_width="fill_parent"
  42. android:layout_height="wrap_content"
  43. android:text="@string/participate_testing_headline"
  44. android:textAppearance="?android:attr/textAppearanceLarge"/>
  45. <TextView
  46. android:id="@+id/participate_testing_bug_text"
  47. android:layout_width="fill_parent"
  48. android:layout_height="wrap_content"
  49. android:paddingBottom="@dimen/standard_half_padding"
  50. android:text="@string/participate_testing_bug_text"
  51. android:textAppearance="?android:attr/textAppearanceMedium"/>
  52. <android.support.v7.widget.AppCompatButton
  53. android:id="@+id/participate_testing_report"
  54. android:layout_width="wrap_content"
  55. android:layout_height="wrap_content"
  56. android:text="@string/participate_testing_report_text"
  57. android:theme="@style/Button.Primary"/>
  58. <TextView
  59. android:id="@+id/participate_text"
  60. android:layout_width="fill_parent"
  61. android:layout_height="wrap_content"
  62. android:paddingBottom="@dimen/standard_half_padding"
  63. android:paddingTop="@dimen/standard_half_padding"
  64. android:text="@string/participate_testing_version_text"
  65. android:textAppearance="?android:attr/textAppearanceMedium"/>
  66. <TextView
  67. android:id="@+id/participate_release_candidate_headline"
  68. android:layout_width="fill_parent"
  69. android:layout_height="wrap_content"
  70. android:text="@string/participate_release_candidate_headline"
  71. android:textAppearance="?android:attr/textAppearanceLarge"/>
  72. <TextView
  73. android:id="@+id/participate_release_candidate_text"
  74. android:layout_width="fill_parent"
  75. android:layout_height="wrap_content"
  76. android:text="@string/participate_release_candidate_text"
  77. android:textAppearance="?android:attr/textAppearanceMedium"/>
  78. <LinearLayout
  79. android:layout_width="match_parent"
  80. android:layout_height="wrap_content">
  81. <ImageButton
  82. android:id="@+id/participate_release_candidate_playstore"
  83. android:layout_width="wrap_content"
  84. android:layout_height="wrap_content"
  85. android:background="@color/white"
  86. android:onClick="onGetRCPlayStoreClick"
  87. android:padding="@dimen/zero"
  88. android:src="@drawable/playstore"/>
  89. <ImageButton
  90. android:id="@+id/participate_release_candidate_fdroid"
  91. android:layout_width="wrap_content"
  92. android:layout_height="wrap_content"
  93. android:background="@color/white"
  94. android:onClick="onGetRCFDroidClick"
  95. android:padding="@dimen/zero"
  96. android:src="@drawable/fdroid"/>
  97. </LinearLayout>
  98. <TextView
  99. android:id="@+id/participate_beta_headline"
  100. android:layout_width="fill_parent"
  101. android:layout_height="wrap_content"
  102. android:text="@string/participate_beta_headline"
  103. android:textAppearance="?android:attr/textAppearanceLarge"/>
  104. <TextView
  105. android:id="@+id/participate_beta_text"
  106. android:layout_width="fill_parent"
  107. android:layout_height="wrap_content"
  108. android:text="@string/participate_beta_text"
  109. android:textAppearance="?android:attr/textAppearanceMedium"/>
  110. <ImageButton
  111. android:id="@+id/participate_beta_fdroid"
  112. android:layout_width="wrap_content"
  113. android:layout_height="wrap_content"
  114. android:background="@color/white"
  115. android:onClick="onGetBetaFDroidClick"
  116. android:padding="@dimen/zero"
  117. android:src="@drawable/fdroid"/>
  118. <TextView
  119. android:id="@+id/participate_contribute_headline"
  120. android:layout_width="wrap_content"
  121. android:layout_height="wrap_content"
  122. android:text="@string/participate_contribute_headline"
  123. android:textAppearance="?android:attr/textAppearanceLarge"/>
  124. <TextView
  125. android:id="@+id/participate_contribute_irc_text"
  126. android:layout_width="wrap_content"
  127. android:layout_height="wrap_content"
  128. android:text="@string/participate_contribute_irc_text"
  129. android:paddingBottom="@dimen/standard_quarter_padding"
  130. android:textAppearance="?android:attr/textAppearanceMedium"/>
  131. <TextView
  132. android:id="@+id/participate_contribute_forum_text"
  133. android:layout_width="wrap_content"
  134. android:layout_height="wrap_content"
  135. android:text="@string/participate_contribute_forum_text"
  136. android:paddingBottom="@dimen/standard_quarter_padding"
  137. android:textAppearance="?android:attr/textAppearanceMedium"/>
  138. <TextView
  139. android:id="@+id/participate_contribute_translate_text"
  140. android:layout_width="wrap_content"
  141. android:layout_height="wrap_content"
  142. android:text="@string/participate_contribute_translate_text"
  143. android:paddingBottom="@dimen/standard_quarter_padding"
  144. android:textAppearance="?android:attr/textAppearanceMedium"/>
  145. <TextView
  146. android:id="@+id/participate_contribute_github_text"
  147. android:layout_width="wrap_content"
  148. android:layout_height="wrap_content"
  149. android:text="@string/participate_contribute_github_text"
  150. android:textAppearance="?android:attr/textAppearanceMedium"/>
  151. </LinearLayout>
  152. </ScrollView>
  153. </LinearLayout>
  154. <include
  155. layout="@layout/drawer"
  156. android:layout_width="@dimen/drawer_width"
  157. android:layout_height="match_parent"
  158. android:layout_gravity="start"/>
  159. </android.support.v4.widget.DrawerLayout>