Add ignored users icon in the root settings

This commit is contained in:
Benoit Marty 2019-06-27 10:17:57 +02:00
parent b69940a5da
commit 679a4c7f31
3 changed files with 31 additions and 3 deletions

View File

@ -0,0 +1,30 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="17dp"
android:height="20dp"
android:viewportWidth="17"
android:viewportHeight="20">
<path
android:pathData="M16,19v-2a4,4 0,0 0,-4 -4H5a4,4 0,0 0,-4 4v2"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:fillType="evenOdd"
android:strokeColor="#7E899C"
android:strokeLineCap="round"/>
<path
android:pathData="M8.5,5m-4,0a4,4 0,1 1,8 0a4,4 0,1 1,-8 0"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:fillType="evenOdd"
android:strokeColor="#7E899C"
android:strokeLineCap="round"/>
<path
android:pathData="M5.672,2.172l5.656,5.656"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:fillType="evenOdd"
android:strokeColor="#7E899C"
android:strokeLineCap="round"/>
</vector>

View File

@ -28,7 +28,6 @@
<string name="push_gateway_item_url">Url:</string>
<string name="push_gateway_item_format">Format:</string>

<string name="preference_root_legacy">Legacy</string>
<string name="preference_voice_and_video">Voice &amp; Video</string>
<string name="preference_root_help_about">Help &amp; About</string>


View File

@ -35,11 +35,10 @@
android:title="@string/preference_voice_and_video"
app:fragment="im.vector.riotredesign.features.settings.VectorSettingsVoiceVideo" />

<!-- TODO Ignored users icon -->
<im.vector.riotredesign.core.preference.VectorPreference
android:layout_width="match_parent"
android:enabled="@bool/false_not_implemented"
android:icon="@drawable/ic_settings_root_legacy"
android:icon="@drawable/ic_settings_root_ignored_users"
android:title="@string/settings_ignored_users"
app:fragment="im.vector.riotredesign.features.settings.VectorSettingsIgnoredUsers" />