How to set content description in android preference view

Is there a way to get the content description added to the view representing the preference in the preference? Fragment or preference?

Basically, I need a way to get the view handle representing the preference. This would allow me to setContentDescription (...) on the view.

Surprisingly, this is not directly treated as an xml attribute in the preference xml files, as this is an accessibility feature, it looks like it should be everywhere a UI element can be proxied / generated.

+3


source to share





All Articles