Comments (9)
Good feature. Added to plan. Thanks.
2014年12月10日 上午8:15于 "Wolftein" [email protected]写道:
Add icons using drawableLeft, drawableRight just like
—
Reply to this email directly or view it on GitHub
#42.
from materialedittext.
+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.
@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.
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:
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.
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.
1.8.0 has been released, with this new feature.
You can check the latest library version now.
It may take several hours syncing to Maven Central.
from materialedittext.
Amazing work :)
from materialedittext.
Great! I'll be sure to check it out soon
from materialedittext.
materialEditText.setHint(getString(R.string.some_hint));
setting hint dynamically wont work
Please fix the issue ;) :)
from materialedittext.
Related Issues (20)
- delete button cannot delete extra long string
- I get an error when using androidx. HOT 1
- Library isn't Android X compatible
- setErrorColor doesn't change icon color
- Is Chinese Readme not avaliable? HOT 1
- setFocusFraction in the XML
- About copy/paste Problem.
- Input type phone not working inside custom dialog
- Is it possible to make multicolor hint and floatingLabelText
- 刷的量 HOT 1
- set inputType='numberDecimal' can't input negative number
- 这作者真不负责任 HOT 6
- How to set margin or padding to error label?
- Create Toggle icon show/hide password
- How can change bg color of dropdown?
- NullPointerException on Layout.getLineForOffset(int) Editor.java file HOT 9
- 没有google material design中提到的那种带外框(outline box)的效果?
- MaterialEditText长度长时,clearbutton不可点击问题
- Broken font family when used with new AppCompat
- height wrapcontent 显示不全,上下会滚动
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from materialedittext.