activity_help.xml raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:tools="http://schemas.android.com/tools"
4 android:layout_width="match_parent"
5 android:layout_height="match_parent"
6 tools:context="io.github.domi04151309.alwayson.activities.HelpActivity">
7
8 <LinearLayout
9 android:layout_width="match_parent"
10 android:layout_height="wrap_content"
11 android:padding="?dialogPreferredPadding"
12 android:orientation="vertical">
13
14 <TextView
15 android:layout_width="match_parent"
16 android:layout_height="wrap_content"
17 android:paddingBottom="12dp"
18 android:text="@string/missing_permissions"
19 android:textColor="?android:attr/textColorPrimary"
20 android:textAppearance="@style/TextAppearance.Material3.TitleMedium" />
21
22 <TextView
23 android:layout_width="match_parent"
24 android:layout_height="wrap_content"
25 android:layout_marginBottom="?dialogPreferredPadding"
26 android:text="@string/help_center_missing_permissions_text"
27 android:textAppearance="@style/TextAppearance.Material3.BodyMedium" />
28
29 <TextView
30 android:layout_width="match_parent"
31 android:layout_height="wrap_content"
32 android:paddingBottom="12dp"
33 android:text="@string/help_center_uninstall"
34 android:textColor="?android:attr/textColorPrimary"
35 android:textAppearance="@style/TextAppearance.Material3.TitleMedium" />
36
37 <TextView
38 android:layout_width="match_parent"
39 android:layout_height="wrap_content"
40 android:text="@string/help_center_uninstall_text"
41 android:textAppearance="@style/TextAppearance.Material3.BodyMedium" />
42
43 <Button
44 android:id="@+id/uninstall"
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:layout_gravity="end"
48 android:layout_marginBottom="?dialogPreferredPadding"
49 android:text="@string/help_center_uninstall_button"
50 style="@style/Widget.Material3.Button.TextButton" />
51
52 <TextView
53 android:layout_width="match_parent"
54 android:layout_height="wrap_content"
55 android:paddingBottom="12dp"
56 android:text="@string/help_center_delays"
57 android:textColor="?android:attr/textColorPrimary"
58 android:textAppearance="@style/TextAppearance.Material3.TitleMedium" />
59
60 <TextView
61 android:layout_width="match_parent"
62 android:layout_height="wrap_content"
63 android:text="@string/help_center_delays_text"
64 android:textAppearance="@style/TextAppearance.Material3.BodyMedium" />
65
66 <LinearLayout
67 android:layout_width="wrap_content"
68 android:layout_height="match_parent"
69 android:layout_gravity="end"
70 android:layout_marginBottom="?dialogPreferredPadding"
71 android:orientation="horizontal">
72
73 <Button
74 android:id="@+id/batterySettings"
75 android:layout_width="wrap_content"
76 android:layout_height="wrap_content"
77 android:text="@string/help_center_delays_button_one"
78 style="@style/Widget.Material3.Button.TextButton" />
79
80 <Button
81 android:id="@+id/manufacturer"
82 android:layout_width="wrap_content"
83 android:layout_height="wrap_content"
84 android:text="@string/help_center_delays_button_two"
85 style="@style/Widget.Material3.Button.TextButton" />
86 </LinearLayout>
87
88 <TextView
89 android:layout_width="match_parent"
90 android:layout_height="wrap_content"
91 android:paddingBottom="12dp"
92 android:text="@string/help_center_battery_drain"
93 android:textColor="?android:attr/textColorPrimary"
94 android:textAppearance="@style/TextAppearance.Material3.TitleMedium" />
95
96 <TextView
97 android:layout_width="match_parent"
98 android:layout_height="wrap_content"
99 android:text="@string/help_center_battery_drain_text"
100 android:textAppearance="@style/TextAppearance.Material3.BodyMedium" />
101 </LinearLayout>
102 </ScrollView>