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