mimic tile to airplane mode

This commit is contained in:
lucky 2022-01-27 17:22:03 +03:00
parent 976e7ea359
commit a407db510a
4 changed files with 13 additions and 3 deletions

View File

@ -86,7 +86,7 @@
<service
android:name=".QSTileService"
android:icon="@android:drawable/ic_lock_lock"
android:icon="@drawable/ic_baseline_airplanemode_active_24"
android:label="@string/tile_label"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
android:enabled="false"

View File

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M22,16v-2l-8.5,-5V3.5C13.5,2.67 12.83,2 12,2s-1.5,0.67 -1.5,1.5V9L2,14v2l8.5,-2.5V19L8,20.5L8,22l4,-1l4,1l0,-1.5L13.5,19v-5.5L22,16z"/>
</vector>

View File

@ -11,7 +11,7 @@
<string name="panic_app_dialog_message">Вы уверены, что хотите разрешить %1$s запускать действия тревожной кнопки\?</string>
<string name="panic_app_unknown_app">неизвестное приложение</string>
<string name="allow">Разрешить</string>
<string name="tile_label">Разблокировать устройство</string>
<string name="tile_label">Режим полета</string>
<string name="shortcut_label">Тревога</string>
<string name="max_failed_password_attempts_description">Максимальное количество неудачных попыток ввода пароля.</string>
<string name="max_failed_password_attempts_content_description">Количество</string>

View File

@ -11,7 +11,7 @@
<string name="panic_app_dialog_message">Are you sure that you want to allow %1$s to trigger destructive panic actions\?</string>
<string name="panic_app_unknown_app">an unknown app</string>
<string name="allow">Allow</string>
<string name="tile_label">Unlock device</string>
<string name="tile_label">Airplane mode</string>
<string name="shortcut_label">Panic</string>
<string name="max_failed_password_attempts_description">Maximum number of failed password attempts.</string>
<string name="max_failed_password_attempts_content_description">Count</string>