Add icons for Wi-Fi wakeup and notification settings toggles.

Bug:35350450
Test: visual inspection on device.
Change-Id: Idc826002da98675b7c2ba675db98cd8c30b76ab2
This commit is contained in:
Stephen Chen
2017-02-21 12:17:46 -08:00
parent aba2c95ae0
commit 614e5c3e5c
2 changed files with 40 additions and 13 deletions

View File

@@ -0,0 +1,25 @@
<!--
Copyright (C) 2017 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/colorControlNormal">
<path android:fillColor="#FFFFFFFF"
android:pathData="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z" />
<path android:pathData="M0 0h24v24H0z" />
</vector>

View File

@@ -22,11 +22,13 @@
<SwitchPreference <SwitchPreference
android:key="enable_wifi_wakeup" android:key="enable_wifi_wakeup"
android:title="@string/wifi_wakeup" android:title="@string/wifi_wakeup"
android:icon="@drawable/ic_settings_home"
android:summary="@string/wifi_wakeup_summary" /> android:summary="@string/wifi_wakeup_summary" />
<SwitchPreference <SwitchPreference
android:key="notify_open_networks" android:key="notify_open_networks"
android:title="@string/wifi_notify_open_networks" android:title="@string/wifi_notify_open_networks"
android:icon="@drawable/ic_settings_notifications"
android:summary="@string/wifi_notify_open_networks_summary" /> android:summary="@string/wifi_notify_open_networks_summary" />
<SwitchPreference <SwitchPreference