|
59 | 59 | android:layout_width="match_parent" |
60 | 60 | android:layout_height="match_parent" |
61 | 61 | android:layout_marginHorizontal="24dp" |
| 62 | + android:layout_marginVertical="8dp" |
62 | 63 | android:fontFamily="@font/sans" |
63 | 64 | android:text="Before we start,\nWe need to grant some permissions." |
64 | 65 | android:textSize="20sp" /> |
65 | 66 |
|
| 67 | + <TextView |
| 68 | + android:layout_width="wrap_content" |
| 69 | + android:layout_height="wrap_content" |
| 70 | + android:layout_gravity="start" |
| 71 | + android:layout_marginHorizontal="24dp" |
| 72 | + android:layout_marginVertical="15dp" |
| 73 | + android:text="Notification permissions" |
| 74 | + android:textColor="@color/ui_accent" /> |
| 75 | + <TextView |
| 76 | + android:layout_width="match_parent" |
| 77 | + android:layout_height="wrap_content" |
| 78 | + android:layout_marginHorizontal="24dp" |
| 79 | + android:layout_marginBottom="15dp" |
| 80 | + android:fontFamily="@font/sans" |
| 81 | + android:text="This permission is required for NotiSender to allow read, mirror, and post notifications on device." |
| 82 | + android:textColor="@color/ui_fg_secondary" /> |
| 83 | + |
66 | 84 | <com.google.android.material.button.MaterialButton |
67 | 85 | android:id="@+id/Permit_Notification" |
68 | 86 | android:layout_width="match_parent" |
69 | 87 | android:layout_height="wrap_content" |
70 | 88 | android:text="Notification Permission" |
71 | 89 | android:gravity="center" |
72 | 90 | android:layout_gravity="center" |
73 | | - android:layout_marginTop="24dp" |
74 | 91 | android:layout_marginHorizontal="24dp" |
75 | 92 | android:background="@drawable/round_corner" |
76 | 93 | android:textColor="@color/ui_bg" |
|
99 | 116 | android:text="Skip Alarm access permission for now" |
100 | 117 | android:gravity="center"/> |
101 | 118 |
|
| 119 | + <TextView |
| 120 | + android:layout_width="wrap_content" |
| 121 | + android:layout_height="wrap_content" |
| 122 | + android:layout_gravity="start" |
| 123 | + android:layout_marginHorizontal="24dp" |
| 124 | + android:layout_marginVertical="15dp" |
| 125 | + android:text="Application Optimization permissions" |
| 126 | + android:textColor="@color/ui_accent" /> |
| 127 | + |
| 128 | + <TextView |
| 129 | + android:layout_width="match_parent" |
| 130 | + android:layout_height="wrap_content" |
| 131 | + android:layout_marginHorizontal="24dp" |
| 132 | + android:layout_marginBottom="15dp" |
| 133 | + android:fontFamily="@font/sans" |
| 134 | + android:text="This permission is required to allow NotiSender to run in the background." |
| 135 | + android:textColor="@color/ui_fg_secondary" /> |
| 136 | + |
102 | 137 | <com.google.android.material.button.MaterialButton |
103 | 138 | android:id="@+id/Permit_Overlay" |
104 | 139 | android:layout_width="match_parent" |
105 | 140 | android:layout_height="wrap_content" |
106 | 141 | android:text="Overlay Permission" |
107 | 142 | android:gravity="center" |
108 | 143 | android:layout_gravity="center" |
109 | | - android:layout_marginVertical="12dp" |
| 144 | + android:layout_marginVertical="6dp" |
110 | 145 | android:layout_marginHorizontal="24dp" |
111 | 146 | android:textColor="@color/ui_bg" |
112 | 147 | app:iconTint="@color/ui_bg" |
|
141 | 176 | app:icon="@drawable/ic_fluent_folder_24_regular" |
142 | 177 | android:background="@drawable/round_corner"/> |
143 | 178 |
|
| 179 | + <TextView |
| 180 | + android:layout_width="wrap_content" |
| 181 | + android:layout_height="wrap_content" |
| 182 | + android:layout_gravity="start" |
| 183 | + android:layout_marginHorizontal="24dp" |
| 184 | + android:layout_marginVertical="15dp" |
| 185 | + android:text="Location Permissions" |
| 186 | + android:textColor="@color/ui_accent" /> |
| 187 | + |
| 188 | + <TextView |
| 189 | + android:layout_width="match_parent" |
| 190 | + android:layout_height="wrap_content" |
| 191 | + android:layout_marginHorizontal="24dp" |
| 192 | + android:layout_marginBottom="15dp" |
| 193 | + android:fontFamily="@font/sans" |
| 194 | + android:text="This permission is used to retrieve location information to remotely locate this device from another device.\n\nYou can choose not to grant this permission, but doing so will limit the ability to find locations." |
| 195 | + android:textColor="@color/ui_fg_secondary" /> |
| 196 | + |
144 | 197 | <com.google.android.material.button.MaterialButton |
145 | 198 | android:id="@+id/Permit_Location" |
146 | 199 | android:layout_width="match_parent" |
|
169 | 222 | app:icon="@drawable/ic_fluent_globe_location_24_regular" |
170 | 223 | android:background="@drawable/round_corner"/> |
171 | 224 |
|
| 225 | + <com.google.android.material.checkbox.MaterialCheckBox |
| 226 | + android:id="@+id/Skip_Location" |
| 227 | + android:layout_width="match_parent" |
| 228 | + android:layout_height="wrap_content" |
| 229 | + android:layout_marginHorizontal="24dp" |
| 230 | + android:text="Skip Location permission" |
| 231 | + android:gravity="center"/> |
| 232 | + |
| 233 | + <TextView |
| 234 | + android:layout_width="wrap_content" |
| 235 | + android:layout_height="wrap_content" |
| 236 | + android:layout_gravity="start" |
| 237 | + android:layout_marginHorizontal="24dp" |
| 238 | + android:layout_marginVertical="15dp" |
| 239 | + android:text="Legal & Regulatory " |
| 240 | + android:textColor="@color/ui_accent" /> |
| 241 | + |
| 242 | + <TextView |
| 243 | + android:layout_width="match_parent" |
| 244 | + android:layout_height="wrap_content" |
| 245 | + android:layout_marginHorizontal="24dp" |
| 246 | + android:layout_marginBottom="15dp" |
| 247 | + android:fontFamily="@font/sans" |
| 248 | + android:text="EULA that Norix Team and Google requires from its users. You can review this license at any time in the 'App Information' menu." |
| 249 | + android:textColor="@color/ui_fg_secondary" /> |
| 250 | + |
172 | 251 | <com.google.android.material.button.MaterialButton |
173 | 252 | android:id="@+id/Permit_Privacy" |
174 | 253 | android:layout_width="match_parent" |
|
0 commit comments