nextcloud-android/res/layout/participate_layout.xml

165 lines
7.4 KiB
XML
Raw Normal View History

2016-09-04 00:13:34 +03:00
<?xml version="1.0" encoding="utf-8"?>
<!--
Nextcloud Android client application
2016-09-04 00:13:34 +03:00
Copyright (C) 2016 Tobias Kaminsky
Copyright (C) 2016 Nextcloud.
2016-09-04 00:13:34 +03:00
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
License as published by the Free Software Foundation; either
version 3 of the License, or any later version.
2016-09-04 00:13:34 +03:00
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
You should have received a copy of the GNU Affero General Public
License along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<android.support.v4.widget.DrawerLayout android:id="@+id/drawer_layout"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clickable="true"
android:fitsSystemWindows="true">
2016-09-04 00:13:34 +03:00
<!-- The main content view -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<include
layout="@layout/toolbar_standard"/>
<ScrollView
android:id="@+id/scrollView"
2016-09-04 00:13:34 +03:00
android:layout_width="fill_parent"
android:layout_height="wrap_content">
2016-09-04 00:13:34 +03:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="@dimen/standard_padding">
2016-09-04 00:13:34 +03:00
<TextView
android:id="@+id/participate_headline"
2016-09-04 00:13:34 +03:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/participate_testing_headline"
android:textAppearance="?android:attr/textAppearanceLarge"/>
<TextView
android:id="@+id/participate_testing_bug_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/standard_half_padding"
android:text="@string/participate_testing_bug_text"
android:textAppearance="?android:attr/textAppearanceMedium"/>
2016-09-04 00:13:34 +03:00
<android.support.v7.widget.AppCompatButton
2016-09-07 15:46:44 +03:00
android:id="@+id/participate_testing_report"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/participate_testing_report_text"
android:theme="@style/Button.Primary"/>
2016-09-04 00:13:34 +03:00
<TextView
android:id="@+id/participate_text"
2016-09-04 00:13:34 +03:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/standard_half_padding"
android:paddingTop="@dimen/standard_half_padding"
android:text="@string/participate_testing_version_text"
android:textAppearance="?android:attr/textAppearanceMedium"/>
2016-09-04 00:13:34 +03:00
<TextView
android:id="@+id/participate_release_candidate_headline"
2016-09-04 00:13:34 +03:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/participate_release_candidate_headline"
android:textAppearance="?android:attr/textAppearanceLarge"/>
<TextView
android:id="@+id/participate_release_candidate_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/participate_release_candidate_text"
android:textAppearance="?android:attr/textAppearanceMedium"/>
2016-09-04 00:13:34 +03:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageButton
android:id="@+id/participate_release_candidate_playstore"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/white"
android:onClick="onGetRCPlayStoreClick"
android:padding="0dp"
android:src="@drawable/playstore"/>
<ImageButton
android:id="@+id/participate_release_candidate_fdroid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/white"
android:onClick="onGetRCFDroidClick"
android:padding="0dp"
android:src="@drawable/fdroid"/>
</LinearLayout>
2016-09-04 00:13:34 +03:00
<TextView
android:id="@+id/participate_beta_headline"
2016-09-04 00:13:34 +03:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/participate_beta_headline"
android:textAppearance="?android:attr/textAppearanceLarge"/>
<TextView
android:id="@+id/participate_beta_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/participate_beta_text"
android:textAppearance="?android:attr/textAppearanceMedium"/>
2016-09-04 00:13:34 +03:00
<ImageButton
android:id="@+id/participate_beta_fdroid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/white"
android:onClick="onGetBetaFDroidClick"
android:padding="0dp"
android:src="@drawable/fdroid"/>
<TextView
android:id="@+id/participate_contribute_headline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/participate_contribute_headline"
android:textAppearance="?android:attr/textAppearanceLarge"/>
2016-09-04 00:13:34 +03:00
<TextView
android:id="@+id/participate_contribute_text"
2016-09-04 00:13:34 +03:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/participate_contribute_text"
android:paddingLeft="@dimen/standard_half_padding"
android:textAppearance="?android:attr/textAppearanceMedium"/>
2016-09-04 00:13:34 +03:00
</LinearLayout>
</ScrollView>
</LinearLayout>
<include
layout="@layout/drawer"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"/>
</android.support.v4.widget.DrawerLayout>