OSDN Git Service

add a11y announcement when multi toggle button changes
authorAlan Newberger <alann@google.com>
Tue, 4 Feb 2014 17:15:47 +0000 (09:15 -0800)
committerAlan Newberger <alann@google.com>
Tue, 4 Feb 2014 17:15:47 +0000 (09:15 -0800)
commit5c62dc726ef2818283e767cde292148c263bcbf8
treec5e55dabf82923af91909f5bfeda27d501770849
parent1632493f24d9571cccc02dbfe58b7b69941693c9
add a11y announcement when multi toggle button changes

addressing TODO with a manual announcement whenever the content
description of a button changes. Does checking of existing content
description to reduce chattiness when options are set by the system
e.g. on a resolution or orientation change. Still a bit of chattiness
on startup if the app is setting a button to a nonstandard value, but
I think its acceptable, it's giving user useful information about
nonstandard options on startup.

Bug: 10745077
Change-Id: I81089b2f4f7f14b90c4436199895a0f67075c3d3
res/values/strings.xml
src/com/android/camera/MultiToggleImageButton.java