summaryrefslogtreecommitdiff
path: root/packages/overlays/IconPackRoundedSystemUIOverlay
diff options
context:
space:
mode:
authorAmin Shaikh <ashaikh@google.com>2019-05-03 16:02:13 -0400
committerAmin Shaikh <ashaikh@google.com>2019-05-06 10:26:15 -0400
commit6c328ac58c545dbb2e03843b87693e2c5aed40fc (patch)
tree0ee698aa6c29068af87862ed08f63432c7d1f139 /packages/overlays/IconPackRoundedSystemUIOverlay
parent78cbd8f8c6f584cb2eb481938aa2b115aeb3d0eb (diff)
Show cast record icon in the status bar
- Add CastDrawable that wraps ic_cast and draws the red record fill - Add ic_cast_connected_fill that only contains the fill of the cast icon - Updated all icon packs to include fill icon on the right ic_cast size Fixes: 127479204 Test: visual; sysui demo mode Change-Id: Idaed25ad0a5646af4be4170ee76938a4d40aaf3e
Diffstat (limited to 'packages/overlays/IconPackRoundedSystemUIOverlay')
-rw-r--r--packages/overlays/IconPackRoundedSystemUIOverlay/res/drawable/ic_cast.xml4
-rw-r--r--packages/overlays/IconPackRoundedSystemUIOverlay/res/drawable/ic_cast_connected_fill.xml26
2 files changed, 28 insertions, 2 deletions
diff --git a/packages/overlays/IconPackRoundedSystemUIOverlay/res/drawable/ic_cast.xml b/packages/overlays/IconPackRoundedSystemUIOverlay/res/drawable/ic_cast.xml
index 9386e7014a49..fed248aea26a 100644
--- a/packages/overlays/IconPackRoundedSystemUIOverlay/res/drawable/ic_cast.xml
+++ b/packages/overlays/IconPackRoundedSystemUIOverlay/res/drawable/ic_cast.xml
@@ -15,10 +15,10 @@
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:height="24dp"
+ android:height="17dp"
android:viewportHeight="24"
android:viewportWidth="24"
- android:width="24dp" >
+ android:width="17dp" >
<path
android:fillColor="@android:color/white"
android:pathData="M2.75,14.25C2.34,14.25,2,14.59,2,15s0.34,0.75,0.75,0.75c1.93,0,3.5,1.57,3.5,3.5C6.25,19.66,6.59,20,7,20 s0.75-0.34,0.75-0.75C7.75,16.49,5.51,14.25,2.75,14.25z" />
diff --git a/packages/overlays/IconPackRoundedSystemUIOverlay/res/drawable/ic_cast_connected_fill.xml b/packages/overlays/IconPackRoundedSystemUIOverlay/res/drawable/ic_cast_connected_fill.xml
new file mode 100644
index 000000000000..cadef698d7eb
--- /dev/null
+++ b/packages/overlays/IconPackRoundedSystemUIOverlay/res/drawable/ic_cast_connected_fill.xml
@@ -0,0 +1,26 @@
+<?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:height="17dp"
+ android:tint="?android:attr/colorError"
+ android:viewportHeight="24"
+ android:viewportWidth="24"
+ android:width="17dp" >
+ <path
+ android:fillColor="@android:color/white"
+ android:pathData="M13.25,15.5c-0.41,0-0.75,0.34-0.75,0.75S12.84,17,13.25,17h5c0.41,0,0.75-0.34,0.75-0.75v-8.5C19,7.34,18.66,7,18.25,7 H5.75C5.34,7,5,7.34,5,7.75v1C5,9.16,5.34,9.5,5.75,9.5S6.5,9.16,6.5,8.75V8.5h11v7H13.25z" />
+</vector> \ No newline at end of file