Settings: Add icon for 'WiFi timeout'
Change-Id: I139b7802eef2dd687151c459b702cbe88d914fee Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
25
res/drawable/ic_wifi_off.xml
Normal file
25
res/drawable/ic_wifi_off.xml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<!--
|
||||||
|
~ Copyright (C) 2020 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"
|
||||||
|
android:viewportHeight="24"
|
||||||
|
android:tint="?android:attr/colorControlNormal">
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/white"
|
||||||
|
android:pathData="M23,9c-4.11,-4.11 -9.93,-5.43 -15.15,-3.98l9.57,9.57L23,9zM5.76,5.76L2.81,2.81 1.39,4.22l2.52,2.52C2.88,7.37 1.89,8.11 1,9l11,11 2.59,-2.59 5.19,5.19 1.41,-1.41L16,16 5.76,5.76z"/>
|
||||||
|
</vector>
|
||||||
@@ -30,6 +30,7 @@
|
|||||||
android:key="wifi_timeout"
|
android:key="wifi_timeout"
|
||||||
android:title="@string/wifi_timeout"
|
android:title="@string/wifi_timeout"
|
||||||
android:summary="@string/wifi_timeout_summary"
|
android:summary="@string/wifi_timeout_summary"
|
||||||
|
android:icon="@drawable/ic_wifi_off"
|
||||||
android:entries="@array/custom_timeout_entries"
|
android:entries="@array/custom_timeout_entries"
|
||||||
android:entryValues="@array/custom_timeout_values"
|
android:entryValues="@array/custom_timeout_values"
|
||||||
settings:controller="com.android.settings.wifi.WifiTimeoutPreferenceController"/>
|
settings:controller="com.android.settings.wifi.WifiTimeoutPreferenceController"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user