Skip to content

Tag: textview

Disable text wrapping in Android

I’m working on a project in Android where I have a TextView (an EditText to be exact) and a setting to enable or disable text wrapping for that view. I have searched the internet (a lot) but still haven’t found any satisfying solution. Currently I’m using a NestedScrollView for the vertical …

TextView setContentDescription not working

I’m trying to set the contentDescription on a TextView but it doesn’t seem to be announced by TalkBack. TalkBack is only vocalizing the text content. The second line above has no effect. TalkBack says, “2d 9h left”. I’ve also tried the following: but this results in TalkBack anno…