Giter VIP home page Giter VIP logo

Comments (9)

rengwuxian avatar rengwuxian commented on August 17, 2024

Good feature. Added to plan. Thanks.
2014年12月10日 上午8:15于 "Wolftein" [email protected]写道:

Add icons using drawableLeft, drawableRight just like

http://material-design.storage.googleapis.com/publish/v_2/material_ext_publish/0Bx4BSt6jniD7MzFBNE9JWTk5ZHc/components_textfields_single9.png


Reply to this email directly or view it on GitHub
#42.

from materialedittext.

guyzk avatar guyzk commented on August 17, 2024

+1 for this request.
I would add the ability for icon sets
icon for empty state (same as hint color)
icon for full edit text
icon for error status

I used this library and implemented this feature on my own but it could be a great addition to this already awesome library.

from materialedittext.

ZacSweers avatar ZacSweers commented on August 17, 2024

@guyzk I think that sort of implementation should be left to the developer, maybe pull request a sample that @rengwuxian could include in the sample APK?

from materialedittext.

rengwuxian avatar rengwuxian commented on August 17, 2024

@hzsweers

If the developer wants to just add an static icon, there's no need to provide a support, like what you said. But it'll be a complex job to leave this to developers, if they just want to implement the same appearance as what Google's design guide shows, like this:

text_field_with_icon

What @guyzk needs is the dynamically icon rendering and color switching feature. Or maybe I misunderstood what you mean, let me know please.

This feature will come in the next version, in about 1 or 2 days.

from materialedittext.

guyzk avatar guyzk commented on August 17, 2024

That's exactly what i meant. A inner compound drawable that changes colors by state (empty field, filled field, field in error state).
I think this would be a great addition to the already great library. Great work!!

from materialedittext.

rengwuxian avatar rengwuxian commented on August 17, 2024

@Wolftein @guyzk

1.8.0 has been released, with this new feature.

material design icon

You can check the latest library version now.

It may take several hours syncing to Maven Central.

from materialedittext.

Wolftein avatar Wolftein commented on August 17, 2024

Amazing work :)

from materialedittext.

guyzk avatar guyzk commented on August 17, 2024

Great! I'll be sure to check it out soon

from materialedittext.

sharanangadi avatar sharanangadi commented on August 17, 2024

materialEditText.setHint(getString(R.string.some_hint));

setting hint dynamically wont work

Please fix the issue ;) :)

from materialedittext.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.