From the course: Android App Development: Accessibility

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Accessible data visualization

Accessible data visualization - Android Tutorial

From the course: Android App Development: Accessibility

Start my 1-month free trial

Accessible data visualization

- [Instructor] In this video, we'll talk about a more complex example of a custom view that implements data visualization. To make a common chart accessible for screen readers, all we need to do is to make sure that each data point in a chart can be focusable for accessibility and is correctly described to the user. Before we jump into our example, let's talk about virtual view sourced. Virtual views are views that do not exist in the view hierarchy or that you want the accessibility service to recognize as a view in the accessibility tree. Usually, virtual views are used for charts or custom views that make use of a custom drawing to draw meaningful information, such as a calendar, for example. Another example is this chart that contains a single view that handles the drawing of the data. Since this is a single view, is it possible to provide more views that do not exist for each data point? That's what virtual views are for. To create virtual views, Google developed a nice helper…

Contents