Skip to content

Textfield styling #13080

Answered by m1ga
beppo-ivel asked this question in Q&A
Sep 22, 2021 · 2 comments · 12 replies
Discussion options

You must be logged in to vote

1: guess you have to use a Android theme for that. Never done that but if you search for it you'll find some examples. This might be a starting point: https://www.11zon.com/zon/android/how-to-change-android-edittext-cursor-color.php (its not a theme but the property name might be the same)
2: https://titaniumsdk.com/api/titanium/ui/textfield.html#borderstyle
3: use a class with the top/bottom properties? There was a discussion about some kind of marginbut it is not implemented.
4: https://titaniumsdk.com/api/titanium/ui/textfield.html#hinttype

I recommend checking out kitchensink from https://github.com/appcelerator/kitchensink-v2/ especially the screenshots in tidev/kitchensink-v2#56

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
12 replies
@beppo-ivel
Comment options

@m1ga
Comment options

m1ga Oct 6, 2021
Collaborator

@m1ga
Comment options

m1ga Oct 6, 2021
Collaborator

@beppo-ivel
Comment options

@m1ga
Comment options

m1ga Oct 6, 2021
Collaborator

Answer selected by beppo-ivel
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants