Use material add icon instead of png.

This commit is contained in:
Onuray Sahin 2020-07-07 13:28:06 +03:00
parent 09ca2361d7
commit 8313e45737
2 changed files with 13 additions and 4 deletions

View file

@ -0,0 +1,9 @@
<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="#FF000000"
android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
</vector>

View file

@ -26,22 +26,22 @@
<!-- Note: inputType does not work, it is set also in code, as well as iconTint -->
<im.vector.riotx.core.preference.VectorEditTextPreference
android:icon="@drawable/ic_add_black"
android:icon="@drawable/ic_material_add"
android:inputType="textEmailAddress"
android:key="ADD_EMAIL_PREFERENCE_KEY"
android:order="100"
android:title="@string/settings_add_email_address"
app:iconTint="?attr/vctr_settings_icon_tint_color" />
app:iconTint="?colorAccent" />
<!-- Phone will be added here -->
<!-- Note: iconTint does not work, it is also done in code -->
<im.vector.riotx.core.preference.VectorPreference
android:icon="@drawable/ic_add_black"
android:icon="@drawable/ic_material_add"
android:key="ADD_PHONE_NUMBER_PREFERENCE_KEY"
android:order="200"
android:title="@string/settings_add_phone_number"
app:iconTint="?attr/vctr_settings_icon_tint_color" />
app:iconTint="?colorAccent" />
<im.vector.riotx.core.preference.VectorPreference
android:order="1000"