简体   繁体   English

Android 对讲读取底页后面的背景文本

[英]Android talkback reads background text behind the bottomsheet

When bottom sheet is shown in my app want to stop talkback reading background text.当我的应用程序中显示底页时,想要停止对讲阅读背景文本。 The behaviour works fine in Google News app.该行为在 Google 新闻应用中运行良好。

Issue:问题:

  • Talkback setting is ON.对讲设置为 ON。
  • Launch the app fragment is shown.显示启动应用程序片段。
  • Bottomsheet is shown on top of fragment covering half of the screen.底页显示在覆盖一半屏幕的片段顶部。
  • Talkback reads background text first then reads bottomsheet text. Talkback 首先读取背景文本,然后读取底部文本。

Fix I want is stop reading background text.我想要的修复是停止阅读背景文本。

您是否尝试在此背景视图上设置 android:importantForAccessibility="no" ?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM