forked from GitHub-Mirror/riotX-android
split preference (Kotlin)
This commit is contained in:
@ -1,12 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<im.vector.riotredesign.core.preference.VectorPreferenceCategory
|
||||
android:key="SETTINGS_GROUPS_FLAIR_KEY"
|
||||
android:title="@string/settings_flair" />
|
||||
|
||||
<im.vector.riotredesign.core.preference.VectorPreferenceDivider />
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
@ -6,13 +6,13 @@
|
||||
android:layout_width="match_parent"
|
||||
android:icon="@drawable/ic_settings_root_general"
|
||||
android:title="@string/settings_general_title"
|
||||
app:fragment="com.example.SyncFragment" />
|
||||
app:fragment="im.vector.riotredesign.features.settings.VectorSettingsGeneral" />
|
||||
|
||||
<im.vector.riotredesign.core.preference.VectorPreference
|
||||
android:layout_width="match_parent"
|
||||
android:icon="@drawable/ic_settings_root_flair"
|
||||
android:title="@string/settings_flair"
|
||||
app:fragment="com.example.SyncFragment" />
|
||||
app:fragment="im.vector.riotredesign.features.settings.VectorSettingsFlair" />
|
||||
|
||||
<im.vector.riotredesign.core.preference.VectorPreference
|
||||
android:layout_width="match_parent"
|
||||
@ -25,43 +25,37 @@
|
||||
android:layout_width="match_parent"
|
||||
android:icon="@drawable/ic_settings_root_preferences"
|
||||
android:title="@string/settings_preferences"
|
||||
app:fragment="com.example.SyncFragment" />
|
||||
app:fragment="im.vector.riotredesign.features.settings.VectorSettingsPreferences" />
|
||||
|
||||
<im.vector.riotredesign.core.preference.VectorPreference
|
||||
android:layout_width="match_parent"
|
||||
android:icon="@drawable/ic_settings_root_call"
|
||||
android:title="@string/preference_voice_and_video"
|
||||
app:fragment="com.example.SyncFragment" />
|
||||
app:fragment="im.vector.riotredesign.features.settings.VectorSettingsVoiceVideo" />
|
||||
|
||||
<!-- TODO Ignored users -->
|
||||
<!-- TODO Ignored users icon -->
|
||||
<im.vector.riotredesign.core.preference.VectorPreference
|
||||
android:layout_width="match_parent"
|
||||
android:icon="@drawable/ic_settings_root_security_privacy"
|
||||
android:icon="@drawable/ic_settings_root_legacy"
|
||||
android:title="@string/settings_ignored_users"
|
||||
app:fragment="com.example.SyncFragment" />
|
||||
app:fragment="im.vector.riotredesign.features.settings.VectorSettingsIgnoredUsers" />
|
||||
|
||||
<im.vector.riotredesign.core.preference.VectorPreference
|
||||
android:layout_width="match_parent"
|
||||
android:icon="@drawable/ic_settings_root_security_privacy"
|
||||
android:title="@string/settings_security_and_privacy"
|
||||
app:fragment="com.example.SyncFragment" />
|
||||
app:fragment="im.vector.riotredesign.features.settings.VectorSettingsSecurityPrivacy" />
|
||||
|
||||
<im.vector.riotredesign.core.preference.VectorPreference
|
||||
android:layout_width="match_parent"
|
||||
android:icon="@drawable/ic_settings_root_labs"
|
||||
android:title="@string/room_settings_labs_pref_title"
|
||||
app:fragment="com.example.SyncFragment" />
|
||||
|
||||
<im.vector.riotredesign.core.preference.VectorPreference
|
||||
android:layout_width="match_parent"
|
||||
android:icon="@drawable/ic_settings_root_legacy"
|
||||
android:title="@string/preference_root_legacy"
|
||||
app:fragment="com.example.SyncFragment" />
|
||||
app:fragment="im.vector.riotredesign.features.settings.VectorSettingsLabs" />
|
||||
|
||||
<im.vector.riotredesign.core.preference.VectorPreference
|
||||
android:layout_width="match_parent"
|
||||
android:icon="@drawable/ic_settings_root_help_about"
|
||||
android:title="@string/preference_root_help_about"
|
||||
app:fragment="com.example.SyncFragment" />
|
||||
app:fragment="im.vector.riotredesign.features.settings.VectorSettingsHelpAbout" />
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
@ -72,6 +72,4 @@
|
||||
android:title="@string/send_bug_report_rage_shake" />
|
||||
</im.vector.riotredesign.core.preference.VectorPreferenceCategory>
|
||||
|
||||
<im.vector.riotredesign.core.preference.VectorPreferenceDivider />
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
Reference in New Issue
Block a user