在我的应用中,Talkback 没有读出按钮的名称。相反,它只是发音为“按钮”。
谁能帮我完成任务?
我尝试了以下 xml
<Button
android:id="@+id/loginsuccess"
android:scaleType="fitXY"
android:layout_width="100dp"
android:layout_height="30dp"
android:background="@drawable/submit_button"
android:layout_alignParentRight="true"
/>
那是行不通的
最佳答案
您应该在按钮 xml 声明中添加以下内容:
android:contentDescription="buttonName"
关于android - 对讲不读按钮名称,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46472011/