Cherish: Add Status Shortcuts
This commit is contained in:
22
res/drawable/ic_shortcuts.xml
Normal file
22
res/drawable/ic_shortcuts.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<!--
|
||||
Copyright (C) 2014 The Android Open Source 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.
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="30dp"
|
||||
android:width="30dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?android:attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="?android:attr/colorControlNormal"
|
||||
android:pathData="M12,10L8,14H11V20H13V14H16M19,4H5C3.89,4 3,4.9 3,6V18A2,2 0 0,0 5,20H9V18H5V8H19V18H15V20H19A2,2 0 0,0 21,18V6A2,2 0 0,0 19,4Z" />
|
||||
</vector>
|
||||
@@ -107,5 +107,10 @@
|
||||
<string name="lockscreen_date_selection_str_gradient">Gradient</string>
|
||||
<string name="lockscreen_date_selection_str_border_accent">Dark with accented borders</string>
|
||||
<string name="lockscreen_date_selection_str_border_gradient">Dark with gradient borders</string>
|
||||
|
||||
<!-- Status bar - icons -->
|
||||
<string name="status_bar_icons_title">Status bar icons</string>
|
||||
<string name="status_bar_system_icons_title">System icons</string>
|
||||
<string name="status_bar_system_icons_summary">Control which status bar icons are shown</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -17,4 +17,15 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:title="@string/statusbar_title"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/status_bar_icons_title">
|
||||
<PreferenceScreen
|
||||
android:key="status_bar_icons"
|
||||
android:title="@string/status_bar_system_icons_title"
|
||||
android:icon="@drawable/ic_shortcuts">
|
||||
android:summary="@string/status_bar_system_icons_summary">
|
||||
<intent android:action="com.android.settings.action.STATUS_BAR_TUNER" />
|
||||
</PreferenceScreen>
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user