OSDN Git Service

Tint plus icon in mobile networks list.
authorAndrew Sapperstein <asapperstein@google.com>
Thu, 2 May 2019 20:32:45 +0000 (13:32 -0700)
committerAndrew Sapperstein <asapperstein@google.com>
Thu, 2 May 2019 20:32:45 +0000 (13:32 -0700)
Fixes: 131723134
Test: visual inspection
Change-Id: Ia6e85b99941604904e536735fadfd5c3e6ef0eba

res/drawable/ic_menu_add_activated_tint.xml [new file with mode: 0644]
res/xml/mobile_network_list.xml

diff --git a/res/drawable/ic_menu_add_activated_tint.xml b/res/drawable/ic_menu_add_activated_tint.xml
new file mode 100644 (file)
index 0000000..e5d1384
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  ~ Copyright (C) 2019 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:width="24dp"
+        android:height="24dp"
+        android:viewportWidth="24.0"
+        android:viewportHeight="24.0"
+        android:tint="?android:attr/colorControlActivated">
+    <path
+        android:fillColor="#FF000000"
+        android:pathData="M18,13h-5v5c0,0.55-0.45,1-1,1h0c-0.55,0-1-0.45-1-1v-5H6c-0.55,0-1-0.45-1-1v0c0-0.55,0.45-1,1-1h5V6c0-0.55,0.45-1,1-1h0
+c0.55,0,1,0.45,1,1v5h5c0.55,0,1,0.45,1,1v0C19,12.55,18.55,13,18,13z"/>
+</vector>
index c2baf46..13f9a59 100644 (file)
@@ -24,7 +24,7 @@
         android:key="add_more"
         settings:isPreferenceVisible="false"
         android:title="@string/mobile_network_list_add_more"
-        android:icon="@drawable/ic_menu_add"
+        android:icon="@drawable/ic_menu_add_activated_tint"
         android:order="100" >
         <intent android:action="android.telephony.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION">
             <extra android:name="android.telephony.euicc.extra.FORCE_PROVISION"