diff options
| author | JosJuice <josjuice@gmail.com> | 2021-08-12 19:27:50 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2021-09-16 20:12:20 +0200 |
| commit | 4e7aaba77aa9a27ba3e17c5cea4bf59fe729165e (patch) | |
| tree | caf4f17c569301fc23c6af255ba67e4b50ad465c /Source/Android/app/src/main/res/layout | |
| parent | 9c8bb24293820c9be973e085511e24808b9bf707 (diff) | |
Android: Add button for opening system file manager
Apparently some phones (at least some from Samsung) don't expose the
system file manager in the system settings despite it being the
only on-device file manager that can open app-specific directories...
Diffstat (limited to 'Source/Android/app/src/main/res/layout')
| -rw-r--r-- | Source/Android/app/src/main/res/layout/activity_user_data.xml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Source/Android/app/src/main/res/layout/activity_user_data.xml b/Source/Android/app/src/main/res/layout/activity_user_data.xml index dc7aa50fb9..4c8d3bfe45 100644 --- a/Source/Android/app/src/main/res/layout/activity_user_data.xml +++ b/Source/Android/app/src/main/res/layout/activity_user_data.xml @@ -39,7 +39,18 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@id/text_path" - app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintBottom_toTopOf="@id/button_open_system_file_manager" app:layout_constraintWidth_max="400dp" /> + <Button + android:id="@+id/button_open_system_file_manager" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_margin="@dimen/spacing_medlarge" + android:text="@string/user_data_open_system_file_manager" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toBottomOf="@id/text_android_11" + app:layout_constraintBottom_toBottomOf="parent" /> + </androidx.constraintlayout.widget.ConstraintLayout> |
