Cherish: Custom logo customizations [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -124,5 +124,13 @@
|
||||
android:title="@string/carrier_label_settings_title"
|
||||
android:summary="@string/carrier_label_settings_summary"
|
||||
android:fragment="com.cherish.settings.fragments.CustomCarrierLabel" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
|
||||
android:key="status_bar_logo"
|
||||
android:icon="@drawable/ic_logo"
|
||||
android:fragment="com.cherish.settings.fragments.StatusbarLogo"
|
||||
android:title="@string/status_bar_logo_title"
|
||||
android:summary="@string/status_bar_logo_summary"
|
||||
android:defaultValue="false" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
||||
36
res/xml/statusbar_logo.xml
Normal file
36
res/xml/statusbar_logo.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2019 Havoc-OS
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
|
||||
android:title="@string/status_bar_logo_title" >
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||
android:key="status_bar_logo_position"
|
||||
android:title="@string/status_bar_logo_position"
|
||||
android:entries="@array/status_bar_logo_position_entries"
|
||||
android:entryValues="@array/status_bar_logo_position_values"
|
||||
android:defaultValue="0" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||
android:key="status_bar_logo_style"
|
||||
android:title="@string/status_bar_logo_style"
|
||||
android:entries="@array/status_bar_logo_style_entries"
|
||||
android:entryValues="@array/status_bar_logo_style_values"
|
||||
android:defaultValue="0" />
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user