- use DateFormat.getBestDateTimePattern(...) to get the best Date and Time format
depending on the Locale
- format the label according to the best format
- remove non needed formatting strings
Change-Id: I78b62b9a7c9401e47e62c7161214636bb43324fc
New battery saver settings page, accessed via
the power usage settings overflow menu.
The settings page has a master switch to toggle
battery saver mode, feature disclosure text,
and a preference to configure the automatic
trigger level.
Remove developer checkbox now that this option
has a real home.
NO_SQ: multi project change
Bug:13329308
Change-Id: Iac54238f3406439711b44a3c17f220ac5e370a37
- remove this ugly 12dp at the bottom of the Dashboard and
use 1dp instead
See bug: #15384992 Setting Dashboard - padding updates
Change-Id: I07695b2084a389552fb8a0e89663304c0c29cf58
- set a fixed size for the Dashboard icons (and thus fix the
Account type icons size isssue)
- tune layout for N7 tablet
See bug: #15384992 Setting Dashboard - padding updates
Change-Id: I0306f1ec2309e859e044e8490cef468def8d38fb
Temporary fix until we have a public Theme.Quantum.Settings in the
framework that we can attach to the inflation context.
Change-Id: Ifa89e31ad7928a6794a9cdd0fd96aaad3cb0bb64
- Sounds & Notifications -> Sound & Notifications
- Notification station title -> Notification log
- Use dark theme for station to ensure icon is visible, boost
all text to theme's primary color.
Bug:15435289
Change-Id: I8a3b999a42ad4cb09e190bf887ae854f8a288d40
- make some Theme that are DialogWhenLarge but also respectful of
the Settings colors for the ActionBar
See bug: 15408411 Settings > Add account - needs to update theme
Change-Id: Ie96a94d03a2ea06fcbd19638f5d38e22e209fd31
- for matching the ones from the main Dashboard too
- udpate also the Titles to match the categories title appearance
from the Dashboard
See bug: #15384992 Setting Dashboard - padding updates
Change-Id: I6d4731dbbd049b77e8c103bc21e9d0be5c0234dd
Most of this is done, the main thing missing is the color
of the bars which seems like a framework issue.
Note that this introduces a change to the global theme
making colorControlActivated the specified blue color,
which impacts all of the settings UI. (Except apparently
progress bars, and thus the bug.)
Change-Id: I4a5ca8c3b94dc23b8f065f60fe697ee0e76ff47d
- add click listener for toggling the Switch and its text
- add Ripple background to the SwitchBar to make a nice Ripple
when there is a click/touch
See bug #15385724 Entire Switch bar should be a touch state
Change-Id: I26ef77ace596029e9c3e1e17b153b54df4a9110e
Original change I122e1218dd0072c979a59bdafd3e0b6f4eec99ab was missing
search provider logic adjustments and length limits on the added strings.
Bug: 15313133
Change-Id: I8910dd60111c87f5494db7bac76a351e89c1a99b
- also align SwitchBar ON/OFF text
See bug: #13140648 Settings needs to support the new Quantum Paper theme
Change-Id: Ie8224be169ac975b5f71ca23f0c87f385554878e
- Move the remaining conditional preferences into
the combined Sound & Notifications screen.
- Refactor the "Other sounds" sub-settings screen to
provide a home for the new preferences.
- Migrate docking sounds, conditional on config.
- Migrate docking media, conditional on config.
- Migrate emergency tones, conditional on CDMA.
- Move all boilerplate preference <-> setting plumbing into
a separate helper.
- Since some preferences in Other sounds are now conditional,
create a special indexer for searching.
- Remove SoundSettings (and xml), create aliases in the manifest
to avoid breaking shortcuts.
Bug:15279526
Change-Id: I5ae3ecda2f899b1948f7908bd217a799326c2c56