Settings: Add private dns icon
- Taken from Google's material symbols and icons Change-Id: I0f000193c3590a0c751713d1947778787a90ca47 Signed-off-by: penglezos <panagiotisegl@gmail.com>
This commit is contained in:
committed by
Michael Bestas
parent
ff72204814
commit
ac740b4298
15
res/drawable/ic_settings_private_dns.xml
Normal file
15
res/drawable/ic_settings_private_dns.xml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
<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="#000000"
|
||||||
|
android:pathData="M19,15v4H5v-4h14m1,-2H4c-0.55,0 -1,0.45 -1,1v6c0,0.55 0.45,1 1,1h16c0.55,0 1,-0.45 1,-1v-6c0,-0.55 -0.45,-1 -1,-1zM7,18.5c-0.82,0 -1.5,-0.67 -1.5,-1.5s0.68,-1.5 1.5,-1.5 1.5,0.67 1.5,1.5 -0.67,1.5 -1.5,1.5zM19,5v4H5V5h14m1,-2H4c-0.55,0 -1,0.45 -1,1v6c0,0.55 0.45,1 1,1h16c0.55,0 1,-0.45 1,-1V4c0,-0.55 -0.45,-1 -1,-1zM7,8.5c-0.82,0 -1.5,-0.67 -1.5,-1.5S6.18,5.5 7,5.5s1.5,0.68 1.5,1.5S7.83,8.5 7,8.5z"/>
|
||||||
|
</vector>
|
||||||
@@ -98,6 +98,7 @@
|
|||||||
<com.android.settings.network.PrivateDnsModeDialogPreference
|
<com.android.settings.network.PrivateDnsModeDialogPreference
|
||||||
android:key="private_dns_settings"
|
android:key="private_dns_settings"
|
||||||
android:title="@string/select_private_dns_configuration_title"
|
android:title="@string/select_private_dns_configuration_title"
|
||||||
|
android:icon="@drawable/ic_settings_private_dns"
|
||||||
android:order="20"
|
android:order="20"
|
||||||
android:dialogTitle="@string/select_private_dns_configuration_dialog_title"
|
android:dialogTitle="@string/select_private_dns_configuration_dialog_title"
|
||||||
android:dialogLayout="@layout/private_dns_mode_dialog"
|
android:dialogLayout="@layout/private_dns_mode_dialog"
|
||||||
|
|||||||
Reference in New Issue
Block a user