Giter VIP home page Giter VIP logo

Comments (12)

Rainer-Lang avatar Rainer-Lang commented on May 31, 2024

Maybe possible to set as default with the app theme primary color. And additional to overwrite with an extra method?

from textfieldboxes.

jrcacd avatar jrcacd commented on May 31, 2024

Great!

from textfieldboxes.

HITGIF avatar HITGIF commented on May 31, 2024

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.

jrcacd avatar jrcacd commented on May 31, 2024

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.

HITGIF avatar HITGIF commented on May 31, 2024

The icon you set are originally with colors or just grayscale? Could you show me some examples of them?

from textfieldboxes.

jrcacd avatar jrcacd commented on May 31, 2024

image
2017-09-11 09_51_52-mydic - n__programacao_android_mydic - app - _app_src_main_res_drawable_i

from textfieldboxes.

HITGIF avatar HITGIF commented on May 31, 2024

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.

jrcacd avatar jrcacd commented on May 31, 2024

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.

HITGIF avatar HITGIF commented on May 31, 2024

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.

jrcacd avatar jrcacd commented on May 31, 2024

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.

HITGIF avatar HITGIF commented on May 31, 2024

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.

jrcacd avatar jrcacd commented on May 31, 2024

Ok, thanks

from textfieldboxes.

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.