Talkback добавляет ранее установленное описание контентаAndroid

Форум для тех, кто программирует под Android
Ответить
Anonymous
 Talkback добавляет ранее установленное описание контента

Сообщение Anonymous »


I've a custom view button and I call setContentDescription multiple times based on the state of the custom view. I'm seeing a odd behavior from talkback, it is reading "Selected , Button, ". I printed getContentDescription and it never has once this appended format and is always only correctly displaying what is set before. If I comment out the lines of the state I don't want to be seen, I don't see the appended string. So, I'm sure the contentDescription is coming from that previous set call. Anyone knows what the heck is going on?


Источник: https://stackoverflow.com/questions/781 ... escription
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Android»