1
0
Fork 0

easier access to the setup screen

This commit is contained in:
sspanak 2023-03-30 11:52:01 +03:00 committed by Dimo Karaivanov
parent eba1e128b4
commit 9cdf82f522
10 changed files with 54 additions and 41 deletions

View file

@ -32,6 +32,12 @@
app:layout="@layout/pref_text"
app:title="@string/pref_category_keypad" />
<Preference
app:fragment="io.github.sspanak.tt9.preferences.SetupScreen"
app:key="screen_setup"
app:layout="@layout/pref_text"
app:title="@string/pref_category_setup" />
<PreferenceCategory
android:title="@string/pref_category_about"
app:layout="@layout/pref_category"

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"
app:layout="@layout/pref_text"
app:orderingFromXml="true">
<Preference
@ -12,21 +11,4 @@
app:key="global_default_keyboard"
app:layout="@layout/pref_text"
app:title="@string/setup_default_keyboard" />
<Preference
app:fragment="io.github.sspanak.tt9.preferences.MainScreen"
app:key="goto_main_screen"
app:layout="@layout/pref_text"
app:title="@string/setup_goto_main_screen"
app:enabled="false" />
<PreferenceCategory
android:title="@string/pref_category_about"
app:layout="@layout/pref_category"
app:singleLineTitle="true">
<Preference
app:key="version_info"
app:layout="@layout/pref_text"
app:title="@string/app_name" />
</PreferenceCategory>
</PreferenceScreen>