I have a TextView
with maxLines="1"
and a long string of text set to it.
ellipsize="end"
truncates the text after 1 line, but the talkback, goes on the read the entire text which is not visible in the TextView
.
<TextView
android:id="@+id/tv_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
android:text="@{titleText}" />
Can I restrict the talkback to reading only the text that is visible in the TextView
rather than reading the entire text?