Pull to refresh
0
0
Send message

Для content description Вы можете просто написать простенькую оберточку вида

@BindingAdapter("testLabel")
fun bindTestLabel(view: View, testLabel: CharSequence?) {    
if(BuildConfig.DEBUG && testLabel != null) {        
view.importantForAccessibility = 1        
view.contentDescription = testLabel }}

и использовать аттрибут testLabel, который будет виден как content description только в дебажных сборках

Information

Rating
Does not participate
Registered
Activity

Specialization

Test Automation Engineer
Lead
Kotlin