habitica-android/Habitica/res/layout/fragment_support_main.xml

181 lines
8.1 KiB
XML
Raw Normal View History

2020-03-18 14:18:59 +00:00
<?xml version="1.0" encoding="utf-8"?>
2020-04-20 13:45:22 +00:00
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
2020-03-18 14:18:59 +00:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/layout_rounded_bg_gray_700">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@color/white"
android:paddingTop="@dimen/spacing_large"
android:paddingBottom="@dimen/spacing_large">
<LinearLayout
android:id="@+id/using_habitica_wrapper"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing_large"
android:layout_marginEnd="@dimen/spacing_large"
android:gravity="center_horizontal"
android:paddingTop="@dimen/spacing_large"
android:background="@drawable/layout_rounded_bg_gray_700"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-04-03 13:36:37 +00:00
android:text="@string/habitica_questions"
2020-03-18 14:18:59 +00:00
android:layout_marginStart="@dimen/spacing_large"
android:layout_marginEnd="@dimen/spacing_large"
2020-04-03 13:36:37 +00:00
style="@style/Subheader2"
2020-04-10 11:16:17 +00:00
android:letterSpacing="0.015"
2020-04-03 13:36:37 +00:00
android:textColor="@color/black"
2020-03-18 14:18:59 +00:00
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/using_habitica_description"
2020-04-03 13:36:37 +00:00
style="@style/Body2"
2020-04-10 11:16:17 +00:00
android:lineSpacingExtra="3sp"
2020-04-16 11:49:58 +00:00
android:textColor="@color/gray_100"
2020-04-10 11:16:17 +00:00
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
2020-03-18 14:18:59 +00:00
android:gravity="center"
2020-04-03 13:36:37 +00:00
android:layout_marginTop="6dp"
android:layout_marginBottom="16dp"
2020-03-18 14:18:59 +00:00
/>
<TextView
android:layout_width="match_parent"
2020-04-03 13:36:37 +00:00
android:layout_height="38dp"
android:text="@string/read_more"
2020-03-18 14:18:59 +00:00
android:gravity="center"
2020-04-03 13:36:37 +00:00
android:layout_marginStart="@dimen/spacing_medium"
android:layout_marginEnd="@dimen/spacing_medium"
android:layout_marginBottom="@dimen/spacing_medium"
2020-03-18 14:18:59 +00:00
android:background="@drawable/support_info_lower_bg"
android:textColor="@color/white"
2020-04-16 11:49:58 +00:00
android:elevation="4dp"
2020-04-03 13:36:37 +00:00
android:textAllCaps="false"
2020-04-10 11:16:17 +00:00
style="@style/Subheader1"
2020-03-18 14:18:59 +00:00
/>
</LinearLayout>
<LinearLayout
android:id="@+id/bugs_fixes_wrapper"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing_large"
android:layout_marginEnd="@dimen/spacing_large"
android:gravity="center_horizontal"
android:paddingTop="@dimen/spacing_large"
android:layout_marginTop="@dimen/spacing_medium"
android:background="@drawable/layout_rounded_bg_gray_700"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/bugs_fixes"
android:layout_marginStart="@dimen/spacing_large"
android:layout_marginEnd="@dimen/spacing_large"
2020-04-03 13:36:37 +00:00
style="@style/Subheader2"
2020-04-15 13:05:35 +00:00
android:letterSpacing="0.015"
2020-04-03 13:36:37 +00:00
android:textColor="@color/black"
2020-03-18 14:18:59 +00:00
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/bugs_fixes_description"
2020-04-03 13:36:37 +00:00
style="@style/Body2"
2020-04-10 11:16:17 +00:00
android:lineSpacingExtra="3sp"
2020-04-16 11:49:58 +00:00
android:textColor="@color/gray_100"
2020-04-10 11:16:17 +00:00
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
2020-03-18 14:18:59 +00:00
android:gravity="center"
2020-04-03 13:36:37 +00:00
android:layout_marginTop="6dp"
android:layout_marginBottom="16dp"
2020-03-18 14:18:59 +00:00
/>
<TextView
android:layout_width="match_parent"
2020-04-03 13:36:37 +00:00
android:layout_height="38dp"
2020-03-18 14:18:59 +00:00
android:text="@string/get_help"
android:gravity="center"
2020-04-03 13:36:37 +00:00
android:layout_marginStart="@dimen/spacing_medium"
android:layout_marginEnd="@dimen/spacing_medium"
android:layout_marginBottom="@dimen/spacing_medium"
2020-03-18 14:18:59 +00:00
android:background="@drawable/support_info_lower_bg"
android:textColor="@color/white"
2020-04-16 11:49:58 +00:00
android:elevation="4dp"
2020-04-03 13:36:37 +00:00
android:textAllCaps="false"
2020-04-10 11:16:17 +00:00
style="@style/Subheader1"
2020-03-18 14:18:59 +00:00
/>
</LinearLayout>
<LinearLayout
android:id="@+id/suggestions_feedback_wrapper"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_medium"
android:layout_marginStart="@dimen/spacing_large"
android:layout_marginEnd="@dimen/spacing_large"
android:background="@drawable/layout_rounded_bg_gray_700"
android:gravity="center_horizontal"
android:paddingTop="@dimen/spacing_large"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/suggestions_feedback"
android:layout_marginStart="@dimen/spacing_large"
android:layout_marginEnd="@dimen/spacing_large"
2020-04-03 13:36:37 +00:00
style="@style/Subheader2"
2020-04-15 13:05:35 +00:00
android:letterSpacing="0.015"
2020-04-03 13:36:37 +00:00
android:textColor="@color/black"
2020-03-18 14:18:59 +00:00
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/suggestions_feedback_description"
2020-04-03 13:36:37 +00:00
style="@style/Body2"
2020-04-10 11:16:17 +00:00
android:lineSpacingExtra="3sp"
2020-04-16 11:49:58 +00:00
android:textColor="@color/gray_100"
2020-04-10 11:16:17 +00:00
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
2020-03-18 14:18:59 +00:00
android:gravity="center"
2020-04-03 13:36:37 +00:00
android:layout_marginTop="6dp"
android:layout_marginBottom="16dp"
2020-03-18 14:18:59 +00:00
/>
<TextView
android:layout_width="match_parent"
2020-04-03 13:36:37 +00:00
android:layout_height="38dp"
2020-03-18 14:18:59 +00:00
android:text="@string/contact_us"
android:gravity="center"
2020-04-03 13:36:37 +00:00
android:layout_marginStart="@dimen/spacing_medium"
android:layout_marginEnd="@dimen/spacing_medium"
android:layout_marginBottom="@dimen/spacing_medium"
2020-03-18 14:18:59 +00:00
android:background="@drawable/support_info_lower_bg"
2020-04-16 11:49:58 +00:00
android:elevation="4dp"
2020-03-18 14:18:59 +00:00
android:textColor="@color/white"
2020-04-10 11:16:17 +00:00
style="@style/Subheader1"
2020-03-18 14:18:59 +00:00
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/gray_500"/>
<Button
android:id="@+id/reset_tutorial_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-04-03 13:36:37 +00:00
style="@style/HabiticaButton.Gray.600"
android:textColor="@color/gray_50"
2020-03-18 14:18:59 +00:00
android:text="@string/reset_walkthrough"
android:layout_margin="@dimen/spacing_large"/>
2020-04-20 13:45:22 +00:00
</LinearLayout>
</androidx.core.widget.NestedScrollView>