Comments (6)
Hello, the issue is resolved
cannot add textColor and/or change the color of number phone in xml inner ialokim phonefield, but you can change the color from java side when set the color of edit text value for phone edit text.
The solution using java code:
PhoneEditText etPhoneNumber;
etPhoneNumber.getEditText().setTextColor(color);
solved!
Regards.
from android-phone-field.
I'm glad you've found a solution, but I'll keep this open as it should be possible to change the textcolor in the xml layout file eventually, too.
from android-phone-field.
Thanks for opening the issue. I guess when designing the library I didn't pay attention to dark themes, but it should be quite easy to add. Perhaps changing some color codes to theme attributes would be sufficient.
I don't have the time to look into it currently, but feel free to try it and open a PR!
from android-phone-field.
Thanks for opening the issue. I guess when designing the library I didn't pay attention to dark themes, but it should be quite easy to add. Perhaps changing some color codes to theme attributes would be sufficient.
I don't have the time to look into it currently, but feel free to try it and open a PR!
Hello,
Why the textColor( in xml )not supported in this library?
from android-phone-field.
Why the textColor( in xml )not supported in this library?
Most probably I didn't consider the use-case of changing the text color. Feel free to correct this and submit an PR!
from android-phone-field.
Hello, the issue is resolved
cannot add textColor and/or change the color of number phone in xml inner ialokim phonefield, but you can change the color from java side when set the color of edit text value for phone edit text.
The solution using java code:
PhoneEditText etPhoneNumber;
etPhoneNumber.getEditText().setTextColor(color);
solved!
Regards.
That's correct thanks @hbo003
from android-phone-field.
Related Issues (5)
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 android-phone-field.