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

115 lines
4.7 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"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
2020-03-18 14:18:59 +00:00
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent"
2020-04-20 13:45:22 +00:00
android:background="@color/white"
android:layout_marginBottom="@dimen/spacing_large">
2020-03-18 14:18:59 +00:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/common_fixes"
android:layout_marginStart="@dimen/spacing_large"
2020-04-10 11:16:17 +00:00
android:layout_marginTop="@dimen/spacing_large"
android:layout_marginBottom="12dp"
2020-03-18 14:18:59 +00:00
style="@style/SectionHeaderCaps"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-04-10 11:16:17 +00:00
android:padding="19dp"
2020-03-18 14:18:59 +00:00
android:orientation="vertical"
android:background="@drawable/layout_rounded_bg_gray_700"
2020-04-10 11:16:17 +00:00
android:layout_marginLeft="@dimen/spacing_medium"
android:layout_marginRight="@dimen/spacing_medium"
android:layout_marginBottom="@dimen/spacing_medium">
2020-03-18 14:18:59 +00:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/clear_cache"
android:textColor="@color/black"
style="@style/Body1"
android:layout_marginBottom="4dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/clear_cache_description"
style="@style/Body2"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-04-10 11:16:17 +00:00
android:padding="19dp"
2020-03-18 14:18:59 +00:00
android:orientation="vertical"
android:background="@drawable/layout_rounded_bg_gray_700"
2020-04-10 11:16:17 +00:00
android:layout_marginLeft="@dimen/spacing_medium"
android:layout_marginRight="@dimen/spacing_medium"
android:layout_marginBottom="@dimen/spacing_medium">
2020-03-18 14:18:59 +00:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/manual_sync_restart"
android:textColor="@color/black"
style="@style/Body1"
android:layout_marginBottom="4dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/manual_sync_restart_description"
style="@style/Body2"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-04-10 11:16:17 +00:00
android:padding="19dp"
2020-03-18 14:18:59 +00:00
android:orientation="vertical"
android:background="@drawable/layout_rounded_bg_gray_700"
2020-04-10 11:16:17 +00:00
android:layout_marginLeft="@dimen/spacing_medium"
android:layout_marginRight="@dimen/spacing_medium"
android:layout_marginBottom="@dimen/spacing_medium">
2020-03-18 14:18:59 +00:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/update_app"
android:textColor="@color/black"
style="@style/Body1"
android:layout_marginBottom="4dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/update_app_description"
style="@style/Body2"/>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/need_more_help"
android:gravity="center"
android:textStyle="bold"
android:textColor="@color/brand_300"
android:textSize="16sp"
android:layout_marginTop="@dimen/spacing_large"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/send_bug_prompt"
android:textColor="@color/gray_300"
android:gravity="center"
android:textSize="14sp"
android:layout_marginTop="@dimen/spacing_small"
android:layout_marginBottom="@dimen/spacing_large"/>
<Button
android:id="@+id/report_bug_button"
android:layout_width="match_parent"
android:layout_height="40dp"
style="@style/HabiticaButton.Purple"
android:text="@string/report_bug"
android:elevation="0dp"
android:layout_marginStart="@dimen/spacing_large"
android:layout_marginEnd="@dimen/spacing_large" />
2020-04-20 13:45:22 +00:00
</LinearLayout>
</androidx.core.widget.NestedScrollView>