rengwuxian / MaterialEditText

EditText in Material Design
6.1k stars 1.04k forks source link

xml vector icons does not show in met_iconLeft/met_iconRight #322

Open bluevoidnl opened 7 years ago

bluevoidnl commented 7 years ago

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" />

pcg92 commented 7 years ago

Yeah, could be great add svgs

neoscaler commented 6 years ago

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

SabNK commented 5 years ago

Is there any progress?

JonathanNet commented 4 years ago

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

076863 commented 4 years ago

any solution for this problem??