Commit Graph

8 Commits

Author SHA1 Message Date
Fabrice Di Meglio
a6fa002315 Fix padding issue with Dream list item
- needs to use the standard Framework one

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I4f7bb003c928a799bf8b77fce3c4869671816265
2014-06-13 21:11:31 +00:00
Chris Wren
797805909b allow daydream settings to be keyboard driven.
Bug: 8339092
Change-Id: I9ef93a6633cdaee9bb823da424cd422efffd2475
2013-03-12 16:32:40 -04:00
Jeff Sharkey
6f8cd76870 Fix text alignment and simplify layouts.
Fix Apps items to correctly base align text, and to align correctly
in RTL mode.  Use GridLayout to reduce layout complexity.

Bug: 7633350, 7132595
Change-Id: Ic3563cfe408ebcdaef1ed693cc6b01b886d700ea
2012-11-30 14:26:47 -08:00
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