mirror of
https://github.com/jrpie/Launcher.git
synced 2025-04-19 02:10:54 +02:00
Implement option to disable fullscreen mode
using a switch in the settings launcher tab
This commit is contained in:
parent
5dcf710418
commit
7ecca96ad2
6 changed files with 56 additions and 2 deletions
|
@ -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>
|
|
@ -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>
|
||||
|
||||
<!--
|
||||
-
|
||||
|
|
|
@ -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>
|
||||
|
||||
<!--
|
||||
-
|
||||
|
|
|
@ -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>
|
||||
|
||||
<!--
|
||||
-
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue