Commit Graph

1078 Commits

Author SHA1 Message Date
Paul Lawrence
aa05738cd2 Final touches to material theme for phones
Fix layout
Improve text color/size
Improve edit box look
Hide status bar at top

Bug: 15328359
Change-Id: Ia0ea75c74b352963ccf47db0ff7c9684adc1f2a3
2014-07-17 13:29:23 -07:00
Dianne Hackborn
c19eb361a4 Battery chart fixes.
When there is no data to show, don't make a crazy collapsed chart.

Also avoid re-creating the chart when scrolling.

And fix various other things.

Change-Id: Ia1895bc7c46e6d830e66f66e66f17726e1e23e3f
2014-07-17 12:09:54 -07:00
Fabrice Di Meglio
7d79e41877 Fix OwnerInfos
- use a white background for being in line with the Material Theme
- fix padding so that the edge effect is showing full width

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: Iea1cf6b104ee8bf5f311f7d3485d0500884dc57a
2014-07-15 18:55:27 -07:00
PauloftheWest
b64a1f2fde Merge "Added Wifi Assistant Card" into lmp-dev 2014-07-16 16:25:13 +00:00
PauloftheWest
060e01a93e Added Wifi Assistant Card
+ Show Wi-Fi Assistant card above network list that scroll under the action bar with the rest of the list
+ Display a promo image and text
+ Clicking "Setup" should link to the selected Wi-Fi assistant app (must be open to 3rd parties)
+ Touching "No, Thanks" should snooze this card for 30 days / 2nd time 90 / 3rd time 180 days / then forever

Bug: 15703202

Change-Id: If74101bea630246c6bda2de3ed79fee72eca4c0c
2014-07-16 15:46:09 -07:00
Fabrice Di Meglio
1b18665dbc Fix bug #16319697 ACTION_DEVICE_INFO_SETTINGS intent causes Settings app to crash
- fix the way we are passing switchBarMarginStart / switchBarMarginEnd

Change-Id: Ic6e67643be10877a74ae68075460fa5fd4cc5da1
2014-07-15 18:52:37 -07:00
Paul Lawrence
89c7570dd4 Make crypt dialogs material
White on black material theme
Center text
Remove fade to black task
Fix emergency call button

Note - does not implement all requirements of frames in the defect. More
to follow.

Bug: 15328359
Change-Id: I878e59dccffff366ba2484bb77482e168cbd2b81
2014-07-16 08:07:35 -07:00
Christoph Studer
bc1889071f Merge "NotificationStation: Fix crash, use dark theme" into lmp-dev 2014-07-14 21:09:14 +00:00
Jason Monk
f43bbeb247 Revert "Add lock-to-app to settings"
This reverts commit 315070d58b.

Change-Id: Id78311a4e0f371a87c975cc97587a404e0dfdb7f
2014-07-14 16:44:56 +00:00
Christoph Studer
9717fab53d NotificationStation: Fix crash, use dark theme
Bug: 15899979
Change-Id: Ieaa65e300cdc9cbed83b601b7a972a1e245c4961
2014-07-14 17:20:17 +02:00
Tadashi G. Takaoka
cd6fdead7c Reorganize spell checkers settings
Bug: 15976603
Bug: 16115751
Change-Id: I3b23d7f01d8d39da27215a5263b12304ac64db0f
2014-07-11 19:51:30 +09:00
Maurice Lam
588e61aa05 [WifiSetup] L layout update
Changed the layout based on the new design mocks. Copied over
StickyHeaderListView and SetupWizardHeader. Currently using the
generic illustration but will update to Wifi setup specific version
once we get them.

Change-Id: I22bdef8c9860d419be55938e1e4a6a682db5b7e8
2014-07-09 19:33:28 -07:00
Ido Ofir
e6d52157fa Merge "b/16154604 removing the settings link from the trust agent menu." 2014-07-09 14:50:26 +00:00
Ido Ofir
286558bab0 b/16154604 removing the settings link from the trust agent menu.
Change-Id: If5050a16ffd776a5ca2eec6f1dad4eef47f2f0e4
2014-07-08 15:17:30 -07:00
Fabrice Di Meglio
60f803f49c Merge "Define a specific preferenceFragmentStyle in Settings Theme" 2014-07-07 18:07:48 +00:00
Fabrice Di Meglio
5c3fd1cea3 Define a specific preferenceFragmentStyle in Settings Theme
- needed for being able to have PreferenceFragments look as the Dashboard

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I098008a131aa29594025b38dd0dc07c1cc3bffdc
2014-07-07 17:42:17 -07:00
John Spurlock
07f7efba67 Settings: Update to follow new volume design.
- "Sound & Notification"  (not Notifications)
- Remove ringer-mode pref.
- Add zen-mode pref to renamed "Interruptions" screen.
- Implement two separate "Sound" & "Notification" sections.
- Remove "Showing notifications" screen, migrate settings.
- Remove custom category styling now that we have a platform style.
- Implement new "days" sleep mode and corresponding dialog pref.
- Corresponding changes to indexable resources.

Associated frameworks/base change:
  I35afe38646f04d2ba0dbac11c2c6356120a33694

Bug:15831713
Change-Id: I6ed56791784968adfbd684f490dbbebed285a2dd
2014-07-07 18:37:06 -04:00
PauloftheWest
7837b99986 Added Saved networks UI to Wifi
+ Added Saved networks to Overflow menu
+ Moved WPS Pin Entry from Overflow menu to Advance Setting Activity
+ "Automatically manage Wi-Fi : Let a Wi-Fi assistant manage your connection"
+ "Wi-Fi assistant : <selected assistant> [cog secondary hit target]
+ MAC address & IP address list items have the static italic style
- "Avoid poor connections" from Advance Settings
- "Wi-Fi optimization" from Advance Settings

Bug: 15698824

Change-Id: Ieb25b29874752db07398dcb200ec07862779f507
2014-07-08 11:26:22 -07:00
Andres Morales
9246b06e52 Fix Write to NFC Tag dialog layout for tablets
Change-Id: I10a846dd328ff7b3f06350ff93197712495d2fb4
2014-07-01 18:52:39 +00:00
Fabrice Di Meglio
e0284653b7 Update Search Suggestions and Results Panel
- fix overdraw use as less backgrounds as possible
- make it look like the Dashboard with padding left and right

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I30ff33e51bc3c73e888d45f0ce6e16784eb6721c
2014-07-01 11:00:14 -07:00
Fabrice Di Meglio
a5792eb9a4 Merge "Make edge effect goes border to border on xlarge tablets" 2014-06-27 16:52:20 +00:00
Fabrice Di Meglio
1575ee7d02 Make edge effect goes border to border on xlarge tablets
- it is all where you apply the padding ...

Change-Id: Ia8b75662a387bee278b4ea1bca83153724db5bfa
2014-06-29 14:54:07 -07:00
PauloftheWest
b4564c39b7 Applied some minor UI changes (see below)
+ Changed wifi icons to teal
+ Removed “Secured with …” from network status
+ Added an empty state image above text when Wi-Fi is off
+ Removed Wi-Fi Direct and WPS Push button from overflow menu
+ Added Wi-Fi Direct and WPS Push button to Advance Activity
+ Input Password Dialog: Moved Signal Strength and Security to Advance
+ Input Password Dialog: Updated Password text to Material style

BugId: #15698824 #15702808
Change-Id: I542ab9aac2c098738330c92d9183d3907c4f0b38
2014-06-27 12:52:56 -07:00
Fabrice Di Meglio
200cca4c1d Fix icon size for Data Usage / Battery Stats / Process Stats
- remove padding from app_percentage_item and apply it correctly
on its containers
- wrap app_percentage_item into preference_app_percentage for having
correct padding o nProcessStatsPreference and PowerGaugePreference

Change-Id: I290c92959f51a33a1edb49435cd0bd1e6cd9afa3
2014-06-26 14:04:11 -07:00
Jason Monk
0e6ffc429d Merge "Add lock-to-app to settings" 2014-06-26 18:35:29 +00:00
Fabrice Di Meglio
bf4ea4bd8c Merge "Fix icon size for Data Usage / Battery Stats / Process Stats" 2014-06-26 18:02:09 +00:00
Julia Reynolds
4ea24ecfbf Merge "Use user restriction instead of pin to guard factory reset in Settings." 2014-06-26 18:35:29 +00:00
Jason Monk
315070d58b Add lock-to-app to settings
Lock-to-app when disabled shows some instructions about how to
enable it and use it.

When enabled shows an option of use lock screen, which controls
whether the device is locked when exiting lock-to-app.  Turning
on use lock screen requires that the device have some security
challenge.

Bug: 15759649
Change-Id: I6188243e03fb0c85bdfdbc32a23ad486296a34f9
2014-06-26 11:09:54 -04:00
Fabrice Di Meglio
c0ac943eb6 Merge "Make Apps Icons size consistent in Battery Stats" 2014-06-25 17:34:02 +00:00
Fabrice Di Meglio
b974ab5825 Make Apps Icons size consistent in Battery Stats
- set them to 24dip as for the Settings Dashboard

Change-Id: Iadab299cac88a6b22157d285aff8a7dcf506fc97
2014-06-25 17:04:39 -07:00
Fabrice Di Meglio
f65f0e7575 Merge "Update Dashboard layout - part 2" 2014-06-25 21:16:45 +00:00
Fabrice Di Meglio
676e9c1167 Update Dashboard layout - part 2
- follow UX spec
- tablet UI support
- tuning for phone UI

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I26fc6a51a4bb608399f319206c27f58c21b4aa64
2014-06-25 13:59:18 -07:00
Fabrice Di Meglio
8b44132467 Fix bug #15782467 Wrong padding start/end on App Info
- move the listPreferredItemPadding to the correct ViewGroup

Change-Id: I896c2cab79a0c3c40452d8592297191611df40de
2014-06-23 18:10:42 -07:00
Maurice Lam
f13c783f6b Merge "[WifiSetup] Removed button bar" 2014-06-23 21:50:10 +00:00
Fabrice Di Meglio
47a25e7640 Update Dashboard layout again
- follow UX spec
- update also the Search Panels (suggestions / results) to
follow the same specs

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I3d27a3b3d9779644f8ea123990a0c7bed8d4ba74
2014-06-23 13:23:47 -07:00
Dianne Hackborn
68f005fbd4 Modify proc stats to show new memory use computation.
Switch the proc status UI's memory use bar to be based on the
new total memory use computation, instead of showing that weird
"time spent in memory states" thing.

Also now have it link to a detail page that shows details of time
spent in memory states and RAM used by various things.

Change-Id: I6817a499db518adb8e72466a5e9cfe18a81be5d5
2014-06-19 21:35:27 -07:00
Adam Lesinski
6eae70fd5d Fix resource id generation
ID resources were being generated in the 'android' package.

Change-Id: Ia2569c187102551fe85fe7cc88970b38032801a6
2014-06-19 16:30:36 -07:00
Maurice Lam
432bd3aab1 [WifiSetup] Removed button bar
Removed button bar from setup_preference because the same feature
is provided in SettingsActivity already.
Also removed setup custom button because that functionality is
superceded by the navigation bar.

Change-Id: I7f853d57bb63ad3c410e2731d1485d152f806d9f
2014-06-17 16:59:28 -07:00
Fabrice Di Meglio
ee18fdbec8 Fix bug #15729260 Switch should not have any outer glow ripple around its circle
- @null for the background

Change-Id: If2fa9f3dcdbd79af42e308120ce0c3ba3bc78ea3
2014-06-18 17:09:19 -07:00
Fabrice Di Meglio
b11f132e07 Merge "Fix Spell Checker layout padding" 2014-06-18 18:22:48 +00:00
Fabrice Di Meglio
e4f58f9c52 Fix Spell Checker layout padding
- update padding layout for being consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I37ce631425b3e075f4a5d44a41c6a3bac7607a3d
2014-06-18 16:25:33 -07:00
Fabrice Di Meglio
0ec4251d12 Make Process Stats more beautiful
- update padding layouts for being consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I1813eec92a97e4cd9adb4a9c9852c8cd03c38a05
2014-06-18 16:14:45 -07:00
Fabrice Di Meglio
6ebcc36514 Update more colors in Data Usage Summary
- use colors from the Settings Theme
- code cleaning for use the Theme accent color constant
instead of raw color value

Change-Id: I04ec913f0b8048b6e50069213e9d92992168fe18
2014-06-18 12:56:04 -07:00
Fabrice Di Meglio
e5c75ab44b Fix bug #15696670 Settings > Apps using old Holo colors in tabs, space indicator
- updated the LinearColorBar colors, the gradient colors on top of it
and also the label colors too for being compatible with the rest of
the Settings App theming

Change-Id: If88be4ac7084d26299e8e738389279bec636ccd6
2014-06-18 12:01:47 -07:00
Fabrice Di Meglio
3b5e885665 Merge "Make Process Stats more beautiful" 2014-06-18 18:22:48 +00:00
PauloftheWest
da43135d7e bug #15543626 Bluetooth Settings headers need to support Quantum styling
+ Changed cog to teal
+ Eliminated double vertical bar
+ Removed dimming the cog

Change-Id: I6311408658328b5cc9c7e2846a8ba74a32d1af6e
2014-06-18 13:26:19 -07:00
Fabrice Di Meglio
fb03ae2954 Fix Print Settings layout padding
- make padding consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I2f095951143e5c953405c3cd9ff8f77b76c791ae
2014-06-17 19:54:09 -07:00
Fabrice Di Meglio
df7becb8e5 Merge "Fix Language & Input Settings layouts padding - part 2" 2014-06-17 20:49:29 +00:00
Fabrice Di Meglio
b6679d2b52 Fix Language & Input Settings layouts padding - part 2
- make padding consistent with the rest of the Settings App
- make input methods and tts engines list item consistent

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I403adc579adcf4bc31bc198677463177a41bb5ec
2014-06-17 19:22:42 -07:00
Fabrice Di Meglio
e767d2ea97 Fix Language & Input Settings layouts padding
- make padding consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I9aab93e6b18d0fa966e79e93a334b339fa2ca20a
2014-06-17 19:07:53 -07:00