MaterialEditText icon indicating copy to clipboard operation
MaterialEditText copied to clipboard

xml vector icons does not show in met_iconLeft/met_iconRight

Open bluevoidnl opened this issue 8 years ago • 5 comments

I created a material icon by exporting it as a vector .xml in Android studio. Sing the drawable as a xml will not show it. Solved it by downloading the icon from material.io as pngs, that does work.

<com.rengwuxian.materialedittext.MaterialEditText android:id="@+id/edit_field_password" style="@style/MaterialEditText" android:layout_width="match_parent" android:layout_height="wrap_content" android:imeOptions="actionNext" android:inputType="textPassword" app:met_floatingLabel="highlight" app:met_iconLeft="@drawable/ic_https_black_24dp" />

bluevoidnl avatar Feb 14 '17 09:02 bluevoidnl

Yeah, could be great add svgs

pcg92 avatar Sep 08 '17 07:09 pcg92

This should definately be adressed, as using xml vector icons is the preferred way to use drawable in Android.

neoscaler avatar Feb 27 '18 13:02 neoscaler

Is there any progress?

SabNK avatar Jun 20 '19 08:06 SabNK

Yeah I have the same problem here, can't use vector icons only png, any progress on that yet?

JonathanNet avatar Dec 06 '19 20:12 JonathanNet

any solution for this problem??

076863 avatar May 12 '20 07:05 076863