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

138 lines
5.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"
2020-09-15 07:28:34 +00:00
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto">
2020-04-20 13:45:22 +00:00
<LinearLayout
2020-03-18 14:18:59 +00:00
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent"
2022-11-22 14:48:15 +00:00
android:background="?attr/colorContentBackground"
2020-04-20 13:45:22 +00:00
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
2020-09-22 14:10:15 +00:00
android:id="@+id/known_issues_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/layout_rounded_bg_window"
android:layout_marginStart="@dimen/spacing_medium"
android:layout_marginEnd="@dimen/spacing_medium"
android:divider="?android:listDivider"
android:orientation="vertical"
android:showDividers="middle" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/common_fixes"
android:layout_marginStart="@dimen/spacing_large"
android:layout_marginTop="@dimen/spacing_large"
android:layout_marginBottom="12dp"
style="@style/SectionHeaderCaps"
/>
<LinearLayout
2020-03-18 14:18:59 +00:00
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"
2020-09-04 16:17:34 +00:00
android:background="@drawable/layout_rounded_bg_window"
2020-09-17 11:47:02 +00:00
android:layout_marginStart="@dimen/spacing_medium"
android:layout_marginEnd="@dimen/spacing_medium"
2020-04-10 11:16:17 +00:00
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"
2020-09-04 16:17:34 +00:00
android:textColor="@color/text_primary"
2020-03-18 14:18:59 +00:00
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"
2020-09-04 16:17:34 +00:00
android:background="@drawable/layout_rounded_bg_window"
2020-09-17 11:47:02 +00:00
android:layout_marginStart="@dimen/spacing_medium"
android:layout_marginEnd="@dimen/spacing_medium"
2020-04-10 11:16:17 +00:00
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"
2020-09-04 16:17:34 +00:00
android:textColor="@color/text_primary"
2020-03-18 14:18:59 +00:00
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"
2020-09-04 16:17:34 +00:00
android:background="@drawable/layout_rounded_bg_window"
2020-09-17 11:47:02 +00:00
android:layout_marginStart="@dimen/spacing_medium"
android:layout_marginEnd="@dimen/spacing_medium"
2020-04-10 11:16:17 +00:00
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"
2020-09-04 16:17:34 +00:00
android:textColor="@color/text_primary"
2020-03-18 14:18:59 +00:00
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>
2020-09-15 07:28:34 +00:00
<com.habitrpg.android.habitica.ui.views.DayNightTextView
2020-03-18 14:18:59 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/need_more_help"
android:gravity="center"
android:textStyle="bold"
2020-09-15 07:28:34 +00:00
app:dayTextColor="@color/text_brand"
app:nightTextColor="@color/gray_400"
2020-03-18 14:18:59 +00:00
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"
2020-09-04 16:17:34 +00:00
android:textColor="@color/text_quad"
2020-03-18 14:18:59 +00:00
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"
2020-09-15 07:28:34 +00:00
android:layout_height="wrap_content"
2020-03-18 14:18:59 +00:00
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>