mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Use material add icon instead of png.
This commit is contained in:
parent
09ca2361d7
commit
8313e45737
2 changed files with 13 additions and 4 deletions
9
vector/src/main/res/drawable/ic_material_add.xml
Normal file
9
vector/src/main/res/drawable/ic_material_add.xml
Normal 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>
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue