简体   繁体   中英

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.

Issue:

  • Talkback setting is 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.

Fix I want is stop reading background text.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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