Implement option to disable fullscreen mode

using a switch in the settings launcher tab
This commit is contained in:
Finn M Glas 2020-08-20 20:51:31 +02:00
parent 5dcf710418
commit 7ecca96ad2
No known key found for this signature in database
GPG key ID: 902A30146014DFBF
6 changed files with 56 additions and 2 deletions

View file

@ -155,4 +155,38 @@
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16sp"
android:gravity="top"
android:orientation="horizontal"
android:paddingLeft="8sp">
<TextView
android:id="@+id/settings_launcher_text_screen_full"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/settings_launcher_full_screen"
android:textSize="16sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/settings_launcher_text_time_format" />
<Space
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<Switch
android:id="@+id/settings_launcher_switch_screen_full"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="false"
android:textSize="18sp"
app:layout_constraintBottom_toBottomOf="@id/settings_launcher_text_screen_timeout"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/settings_launcher_text_screen_timeout" />
</LinearLayout>
</LinearLayout>

View file

@ -69,6 +69,7 @@
<string name="settings_launcher_section_display">Bildschirm</string>
<string name="settings_launcher_disable_timeout">Bildschirm wach halten</string>
<string name="settings_launcher_full_screen">Vollbild verwenden</string>
<!--
-

View file

@ -69,6 +69,7 @@
<string name="settings_launcher_section_display">Écran</string>
<string name="settings_launcher_disable_timeout">Gardez l\'écran allumé</string>
<string name="settings_launcher_full_screen">Utiliser le plein écran</string>
<!--
-

View file

@ -89,6 +89,7 @@
<string name="settings_launcher_section_display">Display</string>
<string name="settings_launcher_disable_timeout">Keep screen on</string>
<string name="settings_launcher_full_screen">Use full screen</string>
<!--
-