Commit Graph

5 Commits

Author SHA1 Message Date
alanv
364082e355 Add a11y content descriptions and label mapping to Dreams.
Also makes the radio button non-focusable and non-clickable, since
focus and click are handled by its list item container. Clicking on
top of the radio button still works as intended.

Bug: 7230372
Change-Id: I0f311160b09402d882c9d35fdb51e8f19c60f522
2012-10-02 17:16:18 -07:00
Fabrice Di Meglio
ecadb07b4c Fix bug #7198585 Settings > Display > Dream completely broken in RTL
- use start/end instead of left/right
- use android:textDirection="locale" on the TextView for forcing the
correct position of the title text

Change-Id: I968798dcd4ac9307ffc3e48369990b73d3d1b4db
2012-09-20 15:30:49 -07:00
John Spurlock
1537e8b3e8 Dream settings: list items back to constant height
Expanding/collapsing items removed, settings icon shown on right
with divider if applicable.

New "Start" action on the action bar to start dreaming.  This is
no longer in preview/test mode, but a call to .dream().

Bug: 7010260
Change-Id: Ia1d8b9a70218dcc598bf62befbf545f572bbc6b1
2012-09-05 10:28:49 -04:00
John Spurlock
7af2aa52ac More traditional list item style for dreams settings.
Other improvements:
 - remove "Start dreaming now", promote "When to dream" to action bar
 - added logging
 - hide dream settings button if n/a
 - new flat style for settings/preview + dividers
 - refresh dreams list when packages are installed/uninstalled
 - added placeholder for help url

Bug:7010260
Change-Id: Ia443b4f76678eaf1a52b907d50aefb0d8f7e4748
2012-08-30 16:28:29 -04:00
John Spurlock
6df18e2713 New dream settings - first cut
First draft implementation of mocks for dream settings.

Want to merge for the weekly build, so a few things remain, namely:
  - flat style for preview/settings buttons + dividers
  - animation between dream row expanded/collapsed state
  - wire up the help url
  - possibly ditch the non-standard style
  - add logging
  - refresh when packages are installed/uninstalled

Bug:7010260
Change-Id: I96e3ab944170925bd76edf7b8b1127adfffc6262
2012-08-29 16:41:01 -04:00