I need a line of text views, without limits, where I can enter text with my custom button I have a soft keyboard Does not want to open, so it should be non-focusable. It should just appear in the text view with the cursor as I enter the text through my custom input button and at the end of that text.
I try to use TextView, but it does not have horizontal scrolls as I enter long text. I have to scroll it to the end of the text. If there is no long text, I should be able to scroll manually to look the same
& lt; TextView Android :. "Android: attr / textAppearanceMedium" android: scrollHorizontally = "Android": " Android: background = "@Android: drawable / editbox_background_normal": Android: background = "@": "Android": layout_margin = "3SP" Android: text = "@ string / empty" Android: gravity = "end" Android: id = "@ + id / gossipTextView" Android: layout_gravity = "start | top" />
Any suggestions?
to remove the focus. TexView To add the following line of code to your AndroidMenifest.xml
for the specific activity in which TextView is included,
To create a single-line scroll text, your
Android: Ellipse = "End" Android: oneLine = "true"
No comments:
Post a Comment