From the course: Android App Development: Accessibility
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Using the ExploreByTouch helper - Android Tutorial
From the course: Android App Development: Accessibility
Using the ExploreByTouch helper
- [Instructor] Let's integrate the chart accessibility helper to the charts activity. Go ahead and open the activities package and the charts activity. We're going to have to do some modifications to the charts activity. In the set data for chart we have the line entries and the bar entries. Right now they only leave each side of the set data for chart method, we need to make sure that they leave outside of it so we can pass to the chart accessibility helper when we instantiate it. So first let's remove the static keyword. Now let's rename line entries by right clicking on it, going to refactor, rename. Let's say M line entries. Let me hide this pane so we have more space. Now let me do the same thing for the bar entries, right click, refactor, rename, and let's call it M bar entries. Let's copy the type and the name of the variable and let's make sure that we remove the type here so we don't have to redeclare. Let's do the same thing already for the line entries. We can change at the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Grouping content5m 53s
-
(Locked)
Accessibility actions overview2m 10s
-
(Locked)
Remove extra accessibility focus2m 39s
-
Create custom accessibility actions5m 16s
-
(Locked)
Handle custom accessibility actions5m 20s
-
(Locked)
Accessible data visualization1m 50s
-
(Locked)
The ExploreByTouch helper: Part 15m 15s
-
(Locked)
The ExploreByTouch helper: Part 28m 47s
-
(Locked)
Using the ExploreByTouch helper7m 43s
-
(Locked)
-
-