Updated permissions handling so it can target Android 14 (API 34) which is a requirement of Play Store
This commit is contained in:
26
app/src/main/res/layout/activity_main_simple.xml
Normal file
26
app/src/main/res/layout/activity_main_simple.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/versionTv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/app_name" />
|
||||
|
||||
|
||||
<androidx.fragment.app.FragmentContainerView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/fragment_common_container_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
|
||||
<androidx.viewpager2.widget.ViewPager2
|
||||
android:id="@+id/fragment_pager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
@@ -578,4 +578,7 @@
|
||||
<string name="restart_server">Restart Server</string>
|
||||
<string name="error_failed_to_create_local_event">ERROR: failed to create local event</string>
|
||||
<string name="error_failed_to_start_log_manager">ERROR: Failed to start Log Manager</string>
|
||||
<string name="ActivityPermissionWarning">Problem with Activity Detection Permissions</string>
|
||||
<string name="activity_permissions_required">Activity Detection Permission Required.</string>
|
||||
<string name="activity_permissions_rationale">Permission required to analyse your movements to detect seizure activity.</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user