This commit is contained in:
parent
4b74ff186b
commit
ac870634ff
15
app/src/main/res/layout/preference_category_main_style.xml
Normal file
15
app/src/main/res/layout/preference_category_main_style.xml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
|
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:id="@android:id/title"
|
||||||
|
style="?android:attr/listViewStyle"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="16dp"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:gravity="start|center_vertical"
|
||||||
|
android:textAlignment="viewStart"
|
||||||
|
app:fontFamily="@font/metropolis_semibold" />
|
|
@ -19,7 +19,7 @@
|
||||||
android:title="@string/preferences_category_account"
|
android:title="@string/preferences_category_account"
|
||||||
app:iconSpaceReserved="false"
|
app:iconSpaceReserved="false"
|
||||||
app:isPreferenceVisible="false"
|
app:isPreferenceVisible="false"
|
||||||
android:layout="@layout/preference_cat_style" >
|
android:layout="@layout/preference_category_main_style" >
|
||||||
|
|
||||||
<org.mozilla.fenix.settings.account.AccountPreference
|
<org.mozilla.fenix.settings.account.AccountPreference
|
||||||
android:icon="@drawable/ic_account"
|
android:icon="@drawable/ic_account"
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
<androidx.preference.PreferenceCategory
|
<androidx.preference.PreferenceCategory
|
||||||
android:title="@string/preferences_category_general"
|
android:title="@string/preferences_category_general"
|
||||||
app:iconSpaceReserved="false"
|
app:iconSpaceReserved="false"
|
||||||
android:layout="@layout/preference_cat_style" >
|
android:layout="@layout/preference_category_main_style" >
|
||||||
<androidx.preference.Preference
|
<androidx.preference.Preference
|
||||||
android:icon="@drawable/ic_search"
|
android:icon="@drawable/ic_search"
|
||||||
android:key="@string/pref_key_search_settings"
|
android:key="@string/pref_key_search_settings"
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
<androidx.preference.PreferenceCategory
|
<androidx.preference.PreferenceCategory
|
||||||
android:title="@string/preferences_category_privacy_security"
|
android:title="@string/preferences_category_privacy_security"
|
||||||
app:iconSpaceReserved="false"
|
app:iconSpaceReserved="false"
|
||||||
android:layout="@layout/preference_cat_style">
|
android:layout="@layout/preference_category_main_style">
|
||||||
|
|
||||||
<androidx.preference.Preference
|
<androidx.preference.Preference
|
||||||
android:icon="@drawable/ic_private_browsing"
|
android:icon="@drawable/ic_private_browsing"
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
android:title="@string/preferences_category_advanced"
|
android:title="@string/preferences_category_advanced"
|
||||||
app:iconSpaceReserved="false"
|
app:iconSpaceReserved="false"
|
||||||
android:key="@string/pref_key_advanced"
|
android:key="@string/pref_key_advanced"
|
||||||
android:layout="@layout/preference_cat_style">
|
android:layout="@layout/preference_category_main_style">
|
||||||
<androidx.preference.Preference
|
<androidx.preference.Preference
|
||||||
android:icon="@drawable/ic_addons_extensions"
|
android:icon="@drawable/ic_addons_extensions"
|
||||||
android:key="@string/pref_key_addons"
|
android:key="@string/pref_key_addons"
|
||||||
|
@ -149,7 +149,7 @@
|
||||||
<androidx.preference.PreferenceCategory
|
<androidx.preference.PreferenceCategory
|
||||||
android:title="@string/preferences_category_about"
|
android:title="@string/preferences_category_about"
|
||||||
app:iconSpaceReserved="false"
|
app:iconSpaceReserved="false"
|
||||||
android:layout="@layout/preference_cat_style">
|
android:layout="@layout/preference_category_main_style">
|
||||||
<androidx.preference.Preference
|
<androidx.preference.Preference
|
||||||
android:icon="@drawable/ic_bookmark_outline"
|
android:icon="@drawable/ic_bookmark_outline"
|
||||||
android:key="@string/pref_key_rate"
|
android:key="@string/pref_key_rate"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user