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>