0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-19 19:42:17 +02:00

update: preferences_appearance.xml to use the custom preference layout

This commit is contained in:
Mohd Raghib 2024-04-04 11:47:59 +05:30
parent 0b77a511f5
commit 929922dff3
2 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2024 Mohd Raghib <raghib.khan76@gmail.com>
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation; either version 3 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.ichi2.anki.preferences
import android.content.Context

View File

@ -57,13 +57,13 @@
app:useSimpleSummaryProvider="true"
search:ignore="true"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/background_image_title" >
<Preference
<PreferenceCategory android:title="@string/background_image_title"
app:allowDividerBelow="false">
<com.ichi2.anki.preferences.PreferenceSelectBackgroundImage
android:defaultValue="0"
android:key="@string/pref_deck_picker_background_key"
android:shouldDisableView="true"
android:icon="@drawable/wallpaper_icon"
android:title="@string/choose_an_image" />
/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_cat_reviewer" >
<Preference