Cherish:Set google sans font is default for clock and date[2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Hưng Phan
2021-02-19 13:40:25 +07:00
parent 58affb0a08
commit 94773f904e
2 changed files with 4 additions and 4 deletions

View File

@@ -88,7 +88,7 @@
android:entries="@array/lock_clock_fonts_entries" android:entries="@array/lock_clock_fonts_entries"
android:entryValues="@array/lock_clock_fonts_values" android:entryValues="@array/lock_clock_fonts_values"
android:summary="%s" android:summary="%s"
android:defaultValue="34" android:defaultValue="28"
android:persistent="false" /> android:persistent="false" />
<com.cherish.settings.preferences.CustomSeekBarPreference <com.cherish.settings.preferences.CustomSeekBarPreference
@@ -138,7 +138,7 @@
android:entries="@array/lock_clock_fonts_entries" android:entries="@array/lock_clock_fonts_entries"
android:entryValues="@array/lock_clock_fonts_values" android:entryValues="@array/lock_clock_fonts_values"
android:summary="%s" android:summary="%s"
android:defaultValue="32" android:defaultValue="28"
android:persistent="false" /> android:persistent="false" />
<com.cherish.settings.preferences.CustomSeekBarPreference <com.cherish.settings.preferences.CustomSeekBarPreference

View File

@@ -79,14 +79,14 @@ public class LockScreenSettings extends SettingsPreferenceFragment implements
// Lockscren Clock Fonts // Lockscren Clock Fonts
mLockClockFonts = (ListPreference) findPreference(LOCK_CLOCK_FONTS); mLockClockFonts = (ListPreference) findPreference(LOCK_CLOCK_FONTS);
mLockClockFonts.setValue(String.valueOf(Settings.System.getInt( mLockClockFonts.setValue(String.valueOf(Settings.System.getInt(
getContentResolver(), Settings.System.LOCK_CLOCK_FONTS, 34))); getContentResolver(), Settings.System.LOCK_CLOCK_FONTS, 28)));
mLockClockFonts.setSummary(mLockClockFonts.getEntry()); mLockClockFonts.setSummary(mLockClockFonts.getEntry());
mLockClockFonts.setOnPreferenceChangeListener(this); mLockClockFonts.setOnPreferenceChangeListener(this);
// Lockscren Date Fonts // Lockscren Date Fonts
mLockDateFonts = (ListPreference) findPreference(LOCK_DATE_FONTS); mLockDateFonts = (ListPreference) findPreference(LOCK_DATE_FONTS);
mLockDateFonts.setValue(String.valueOf(Settings.System.getInt( mLockDateFonts.setValue(String.valueOf(Settings.System.getInt(
getContentResolver(), Settings.System.LOCK_DATE_FONTS, 32))); getContentResolver(), Settings.System.LOCK_DATE_FONTS, 28)));
mLockDateFonts.setSummary(mLockDateFonts.getEntry()); mLockDateFonts.setSummary(mLockDateFonts.getEntry());
mLockDateFonts.setOnPreferenceChangeListener(this); mLockDateFonts.setOnPreferenceChangeListener(this);