Toggle all subscriptions notification mode
This commit is contained in:
parent
4d6177a573
commit
d0757006c5
8 changed files with 137 additions and 90 deletions
10
app/src/main/res/drawable/ic_list_check.xml
Normal file
10
app/src/main/res/drawable/ic_list_check.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:pathData="M3,5H9V11H3V5M5,7V9H7V7H5M11,7H21V9H11V7M11,15H21V17H11V15M5,20L1.5,16.5L2.91,15.09L5,17.17L9.59,12.59L11,14L5,20Z" />
|
||||
</vector>
|
||||
10
app/src/main/res/menu/menu_notifications_channels.xml
Normal file
10
app/src/main/res/menu/menu_notifications_channels.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item
|
||||
android:id="@+id/action_toggle_all"
|
||||
android:icon="@drawable/ic_list_check"
|
||||
android:title="@string/toggle_all"
|
||||
app:showAsAction="ifRoom" />
|
||||
</menu>
|
||||
|
|
@ -705,4 +705,5 @@
|
|||
<string name="notifications_disabled">Уведомления отключены</string>
|
||||
<string name="get_notified">Уведомлять</string>
|
||||
<string name="you_successfully_subscribed">Вы подписались на канал</string>
|
||||
<string name="toggle_all">Переключить все</string>
|
||||
</resources>
|
||||
|
|
@ -730,4 +730,5 @@
|
|||
<string name="enumeration_comma">,</string>
|
||||
<string name="notification_title_pattern" translatable="false">%s • %s</string>
|
||||
<string name="streams_notifications_channels_summary" translatable="false">%d/%d</string>
|
||||
<string name="toggle_all">Toggle all</string>
|
||||
</resources>
|
||||
Loading…
Add table
Add a link
Reference in a new issue