Custom Carrier Label & Carrier Label Placement [2/2]
Credit/Thanks to @Altaf-Mahdi @beanstown106 and @martincz Change-Id: Ia7b29f85d7a1286bd15dc4427727a683e133ab3f Signed-off-by: SagarMakhar <sagarmakhar@gmail.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
34
res/xml/carrier_label.xml
Normal file
34
res/xml/carrier_label.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2020 The CherishOS Project
|
||||
|
||||
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"
|
||||
android:title="@string/carrier_label_settings_title"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||
android:key="status_bar_show_carrier"
|
||||
android:title="@string/show_carrier_title"
|
||||
android:entries="@array/carrier_label_entries"
|
||||
android:entryValues="@array/carrier_label_values"
|
||||
android:summary="%s"
|
||||
android:defaultValue="1" />
|
||||
|
||||
<Preference
|
||||
android:key="custom_carrier_label"
|
||||
android:title="@string/custom_carrier_label_title" />
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -30,6 +30,11 @@
|
||||
android:key="statusbar_icons"
|
||||
android:title="@string/sb_icons">
|
||||
|
||||
<Preference
|
||||
android:key="carrier_label"
|
||||
android:fragment="com.cherish.settings.fragments.CarrierLabel"
|
||||
android:title="@string/carrier_label_settings_title" />
|
||||
|
||||
<Preference
|
||||
android:key="status_bar_clock"
|
||||
android:fragment="com.cherish.settings.fragments.ClockDateSettings"
|
||||
|
||||
Reference in New Issue
Block a user