Comments (12)
Maybe possible to set as default with the app theme primary color. And additional to overwrite with an extra method?
from textfieldboxes.
Great!
from textfieldboxes.
So you want the icon to have a different color from the floating label and the bottomLine?
Well, neither me nor the guideline would suggest people to do so, since the icon signifier should act as an indicator that needs to change its color at different situation accordingly to emphasize the state, just like the bottomLine.
So is there really a need to do so?
from textfieldboxes.
Some of the icons I set do not have the color of the floating label and the bottomLine.
So, what is needed is an option to set the color as such.
from textfieldboxes.
The icon you set are originally with colors or just grayscale? Could you show me some examples of them?
from textfieldboxes.
from textfieldboxes.
You sure it's not changing the color? What's the format of the icon? Or can you give me the image resource that's not working properly since I can't reproduce that with the images I have. Thank you :)
from textfieldboxes.
Sorry, you are right. It is changing the color.
The activity starts with the controls enabled = false, then, when the form is activated only the control with focus has colored the icon.
But this results in all the others controls icon to be in gray, diferent from the rest of the forms primary color.
from textfieldboxes.
So the coloring is working properly? It is supposed to be in gray when not having focus, as the label and the bottomLine do.
from textfieldboxes.
Yes it is.
It be great if it was possible that the icon, diferent from the label and the bottom line, remained in the primary color (as an option)
from textfieldboxes.
You can now use setIsResponsiveIconColor(boolean isrResponsiveIconColor)
in release 1.2.1 to set whether the icon will change its color when gaining or losing focus as the label and the bottomLine do. Check out README for more detail.
from textfieldboxes.
Ok, thanks
from textfieldboxes.
Related Issues (20)
- Inflating error class studio.carbonylgroup.textfieldboxes.ClipToBoundsView HOT 1
- Properties to change custom font of Floating Label
- Ambigous method call. Both findViewById(int) in AppCompatActivity and findViewById(int) in Activity match. HOT 1
- Version 1.4.4 still build problems HOT 2
- [counter text size] too big. why ?
- if i set text programmatically, focus is set to string-start
- 小米9上,有光标,但是不能弹出键盘。
- max line not supported HOT 1
- 长按无法弹出粘贴
- 关于下划线的Api剥离 HOT 1
- 关于下划线的Api剥离 HOT 1
- Feature request - support edit mask (phone, card, date, custom) HOT 1
- Paste Option is not working
- Request : Need primary, secondory & error color to ExtendedEditText view
- Gradle Implementation
- Blank Space Not Count
- final TextFieldBoxes textFieldBoxes = findViewById(R.id.tfb_line) return null object
- Is this library dead?
- 键盘弹出bug
- AAPT: error: duplicate value for resource 'attr/counterTextColor' with config ''. HOT 3
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 textfieldboxes.