4
To set a range for the font size for the text to automatically adjust in the text box Android (TextView)
the extent to which it is entering or inserting.
There is a configuration to do on Android studio
or has to do Script
?
4
To set a range for the font size for the text to automatically adjust in the text box Android (TextView)
the extent to which it is entering or inserting.
There is a configuration to do on Android studio
or has to do Script
?
1
See this library https://github.com/grantland/android-autofittextview if I understood your question would be what you’re looking for.
Yes, you don’t know a way to do it without this library
you can check the library code and take the classes that are there and add them directly to your project.
Browser other questions tagged java android
You are not signed in. Login or sign up in order to post.
What do you mean? It already happens! The.o
– user28595
You want to automatically decrease the font size so that all text is visible on Edittext?
– ramaral
no, it’s in the
Text
– Vale
I don’t understand! Don’t forget to put @ramaral so I’ll be notified of your comments .
– ramaral
@ramaral in
TextView
, Ramaral is the following will have buttons, this has numbers and when you press the button it will write inTextView
and when it completes the field it decreases as it writes down to the defined size.– Vale
@ramaral will be has how to transform a
TextView
in aEditText
that doesn’t show up on the keyboard and that little bar that keeps blinking to type, it’s an idea, or something like that.– Vale
See if it’s this looking for
– ramaral
@ramaral think this, is free use ?
– Vale
Read to furlough
– ramaral
@ramaral would like and make my own code you could pass me if possible, as I do to access the text size and width of the text box via code
– Vale
This requires that another question be asked. Also because then other people will be able to answer.
– ramaral
@ramaral was worth it !!!!!!!!
– Vale