talkback

Talkback focus goes to toolbar items when recyclerview within nestedscrollview is scrolled

老子叫甜甜 提交于 2021-01-27 05:27:14
问题 I have a nestedscrollview within my layout which contains few texts, buttons and recyclerviews. When talkback is on, I am able to traverse through all elements. But I face an issue. When my horizontal recyclerview is scrolled and then I swipe to hear the talkback, the focus moves to the toolbar first item. Then I need to traverse through all the visible items to reach to the horizontal scrollview scrolled item. This issue arises only for recyclerviews within nestedscrollview. My

Talkback focus goes to toolbar items when recyclerview within nestedscrollview is scrolled

微笑、不失礼 提交于 2021-01-27 05:25:56
问题 I have a nestedscrollview within my layout which contains few texts, buttons and recyclerviews. When talkback is on, I am able to traverse through all elements. But I face an issue. When my horizontal recyclerview is scrolled and then I swipe to hear the talkback, the focus moves to the toolbar first item. Then I need to traverse through all the visible items to reach to the horizontal scrollview scrolled item. This issue arises only for recyclerviews within nestedscrollview. My

Talkback focus goes to toolbar items when recyclerview within nestedscrollview is scrolled

走远了吗. 提交于 2021-01-27 05:25:27
问题 I have a nestedscrollview within my layout which contains few texts, buttons and recyclerviews. When talkback is on, I am able to traverse through all elements. But I face an issue. When my horizontal recyclerview is scrolled and then I swipe to hear the talkback, the focus moves to the toolbar first item. Then I need to traverse through all the visible items to reach to the horizontal scrollview scrolled item. This issue arises only for recyclerviews within nestedscrollview. My

setAccessibilityFocus using ref not working

青春壹個敷衍的年華 提交于 2020-08-10 22:52:43
问题 I'm using the ref prop along with findNodeHandle on a bunch of components in order to be able to trigger AccessibilityInfo.setAccessibilityFocus . However, it's not always working as expected. Sometimes the reference is null even though componentDidMount has executed. I'm often using setAccessibilityFocus in order to focus the header of a new element which appears on the screen, for example when opening a modal. IMPORTANT: This is Voiceover/Talkback functionality so you'll need to have that

setAccessibilityFocus using ref not working

送分小仙女□ 提交于 2020-08-10 22:47:59
问题 I'm using the ref prop along with findNodeHandle on a bunch of components in order to be able to trigger AccessibilityInfo.setAccessibilityFocus . However, it's not always working as expected. Sometimes the reference is null even though componentDidMount has executed. I'm often using setAccessibilityFocus in order to focus the header of a new element which appears on the screen, for example when opening a modal. IMPORTANT: This is Voiceover/Talkback functionality so you'll need to have that

Play and record sound using pyaudio simultaneously

爱⌒轻易说出口 提交于 2020-07-08 00:24:09
问题 I'm trying to create a program to talk back at once. I can't seem to get it to work. Some websites say use numpy arrays but I don't know how. import pyaudio import wave import time import multiprocessing as mp import pyaudio import numpy as np import sounddevice as sd fs = 44100 FORMAT = pyaudio.paInt16 CHANNELS = 2 RATE = 44100 CHUNK = 1024 audio = pyaudio.PyAudio() RECORD_SECONDS = 5 stream = audio.open(format=FORMAT, channels=CHANNELS, rate=RATE, input=True, frames_per_buffer=CHUNK)

How to focus Buttons (or other widgets) with TalkBack turned ON in Android Device?

核能气质少年 提交于 2020-06-03 07:33:17
问题 I'm implementing Accessibility in my application. Here's the scenario : I have 4 buttons arranged horizontally at the very top of the screen (Activity). On the click of a button, I'm launching an Alert Dialog which displays something to the user. With the alert being displayed, I will still be able to perform click operations on those 4 buttons at the top of the screen. When I turn ON TalkBack (Android Accessibility Service) in Android device and click on that button, alert is getting

How to focus Buttons (or other widgets) with TalkBack turned ON in Android Device?

旧时模样 提交于 2020-06-03 07:29:41
问题 I'm implementing Accessibility in my application. Here's the scenario : I have 4 buttons arranged horizontally at the very top of the screen (Activity). On the click of a button, I'm launching an Alert Dialog which displays something to the user. With the alert being displayed, I will still be able to perform click operations on those 4 buttons at the top of the screen. When I turn ON TalkBack (Android Accessibility Service) in Android device and click on that button, alert is getting