Android的web视图不向下滚动的无障碍标志 [英] Android webview do not scroll down accessibility marker

查看:522
本文介绍了Android的web视图不向下滚动的无障碍标志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序的WebView有HTML文本,当我运行辅助功能模式(对讲),应用它不动的无障碍标志下降到网页视图内容,使用两个手指轻扫我可以刷卡了。

In my app webview have HTML text ,when I run app in accessibility mode (Talkback) it do not move accessibility marker down to content on webview, using two finger swipe I can swipe down.

如何设置的WebView,使其标志向下滚动,当用户水龙头。

How can I set webview so that it marker scroll down when user taps.

推荐答案

没有太多的细节,很难确定。有一点要记住,就是本地网观点不代表默认访问。请确保您附上您的WebView设置其accessibilityDelegate。

Not many details, hard to be sure. One thing to remember, is that native web views are not necessarily accessible by default. Make sure when you attach your WebView you set its accessibilityDelegate.

yourWebView.setAccessibilityDelegate(new AccessibilityDelegate());

这篇关于Android的web视图不向下滚动的无障碍标志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆