Cherish:Import ThemePicker Browser

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Hưng Phan
2020-09-30 12:15:43 +07:00
parent e3f62c4cd9
commit 491132188e
3 changed files with 39 additions and 1 deletions

View File

@@ -18,6 +18,21 @@
android:title="@string/theme_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:key="system_theme_category"
android:title="@string/theme_type_title">
<Preference
android:key="theme_select_activity"
android:title="@string/theme_select_title"
android:icon="@drawable/ic_system_theme"
android:summary="@string/theme_select_summary"
android:persistent="false" >
<intent android:action="android.intent.action.MAIN"
android:targetPackage="com.android.customization"
android:targetClass="com.android.customization.picker.CustomizationPickerActivity" />
</Preference>
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="accent_color"
android:icon="@drawable/ic_accent_picker"
@@ -43,4 +58,5 @@
android:entries="@array/theme_type_titles"
android:entryValues="@array/theme_type_values"
android:defaultValue="1"/>
</PreferenceCategory>
</PreferenceScreen>