sdm660-common: XiaomiParts: Change settings icon to MI logo

This commit is contained in:
Stylogey 2019-10-19 17:20:42 +02:00 committed by Max Weffers
parent 5998d47bda
commit d9cde63c35
No known key found for this signature in database
GPG key ID: 795F73D22FB93FAE
4 changed files with 37 additions and 11 deletions

View file

@ -45,7 +45,7 @@
<activity <activity
android:name=".DeviceSettingsActivity" android:name=".DeviceSettingsActivity"
android:exported="false" android:exported="false"
android:icon="@drawable/round_build_24" android:icon="@drawable/ic_mi"
android:label="@string/advanced_settings" android:label="@string/advanced_settings"
android:launchMode="singleTask"> android:launchMode="singleTask">
<intent-filter> <intent-filter>
@ -57,6 +57,9 @@
<meta-data <meta-data
android:name="com.android.settings.dismiss" android:name="com.android.settings.dismiss"
android:value="9,13,30" /> android:value="9,13,30" />
<meta-data
android:name="com.android.settings.bg.hint"
android:resource="@color/homepage_parts_background" />
<meta-data <meta-data
android:name="com.android.settings.category" android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.homepage" /> android:value="com.android.settings.category.ia.homepage" />

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FFFFFF"
android:pathData="M4,6.771l2.529,0.028l6.297,0c1.6,0 2.683,1.428 2.684,2.922c0.002,2.386
0.028,7.48 0.028,7.48l-2.454,0.01l-0.046,-6.7c-0.006,-0.935 -0.634,-1.542
-1.548,-1.555c-1.177,-0.017 -4.163,0.019
-4.961,0.029l0,8.244l-2.529,0l0,-10.458Zm4.462,4.035l2.586,0l0,6.338l-2.586,0l0,-6.338Zm9.009,-4.035l2.529,0l0,10.458l-2.529,0l0,-10.458Z" />
</vector>

View file

@ -1,10 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M12.09,2.91C10.08,0.9 7.07,0.49 4.65,1.67L8.28,5.3c0.39,0.39 0.39,1.02 0,1.41L6.69,8.3c-0.39,0.4 -1.02,0.4 -1.41,0L1.65,4.67C0.48,7.1 0.89,10.09 2.9,12.1c1.86,1.86 4.58,2.35 6.89,1.48l7.96,7.96c1.03,1.03 2.69,1.03 3.71,0 1.03,-1.03 1.03,-2.69 0,-3.71L13.54,9.9c0.92,-2.34 0.44,-5.1 -1.45,-6.99z"/>
</vector>

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Xiaomi-SDM660 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.
-->
<resources>
<color name="homepage_parts_background">#FF6700</color>
</resources>