Commit Graph

1623 Commits

Author SHA1 Message Date
Maurice Lam
e8da03bcaa Fix fingerprint progress bar in RTL
Bug: 31047779
Change-Id: Ia6961d9fa425a8a247365f75f5c00955d69d2c60
(cherry picked from commit 6e300bca3a)
2016-08-25 23:28:25 +00:00
Fan Zhang
197829fb8a Force phone number display to be LTR in support tab.
am: 68c6d9956f

Change-Id: Ib5a7b11f9063af047f37a1f342ec715c590cb337
2016-08-23 22:43:30 +00:00
Fan Zhang
68c6d9956f Force phone number display to be LTR in support tab.
Bug: 31030062
Test: manual switch between LTR/RLT languages

Change-Id: I94272c0ecbfa2f96842838c0f590b3704cd5c020
(cherry picked from commit dcfdde5a2c)
2016-08-23 20:41:02 +00:00
Doris Ling
124251d54e Add scrollbar to Settings app.
Overlay PreferenceTheme to add scrollbar to the view, and also add
scrollbar to the dashboard.

Change-Id: I2273b0825b200048bd1914923b551a593aa1e16d
Fixes: 30204662
Test: manual - Launch Settings and different sub-settings, and verify
that scrollbar is shown for screen that can be scrolled.
2016-08-23 10:46:06 -07:00
Doris Ling
15c13f9e10 Merge "Fix margin in Tap & pay -> Payment default." into nyc-mr1-dev 2016-08-23 01:29:41 +00:00
Salvador Martinez
4f6755931e Merge "Made dialog material design compliant" into nyc-mr1-dev 2016-08-22 21:56:06 +00:00
Salvador Martinez
0e98c73666 Merge "Settings Focus prevented from moving to pref" into nyc-mr1-dev 2016-08-22 21:55:47 +00:00
Lei Yu
dd90acf2c0 Merge "Fix the nullpointer bug in monkey test." into nyc-mr1-dev 2016-08-22 21:49:56 +00:00
TreeHugger Robot
ce8a222a59 Merge "Align text to view start so they layout correctly in RTL." into nyc-mr1-dev 2016-08-22 21:17:20 +00:00
Fan Zhang
be56fc17ed Align text to view start so they layout correctly in RTL.
Bug: 28011099
Change-Id: I65b7ab768c384a558f89e3bce539420454fed8a5
(cherry picked from commit 794de426da)
2016-08-22 19:40:22 +00:00
Fan Zhang
89d7bca166 When click conditional's title, expand/collapse content.
Bug: 30200101

It used to lead user to detailed setting for that conditional. This
leaves some confusion about which click target goes to where.

Change-Id: Ic9525ace65ca488f4e709576fb1ec96a1cb99938
(cherry picked from commit a2db2ca8fa)
2016-08-22 18:30:16 +00:00
Doris Ling
9e29ac7983 Fix margin in Tap & pay -> Payment default.
Change PaddingLeft to PaddingStart so that it also works in RTL.

Change-Id: I649a89798d95d64e0c5da6eb1decd217ef7e98c7
Fixes: 28762436
(cherry picked from commit c51143a35a)
2016-08-19 21:21:38 +00:00
jackqdyulei
409c4708c1 Fix the nullpointer bug in monkey test.
Bug: 30632031

Change-Id: I295bcc804a5e847f99577353c888caa08dc8c7ef
(cherry picked from commit a2938d2a2f)
2016-08-19 18:46:15 +00:00
Salvador Martinez
41fc4e8cb7 Settings Focus prevented from moving to pref
RecyclerView containing preferences for support
tab and summary tab are no longer focusable
so that focus is not taken by preferences when
loaded.

Bug: 30214948
Change-Id: I23e717c58b1104fd0d2f8d89b77715a7b1fbc922
(cherry picked from commit 0a9e62d399)
2016-08-19 18:04:26 +00:00
Salvador Martinez
cfee94d448 Made dialog material design compliant
modified layout file to get the correct
padding and layout as described in the material
design documents.

Bug: 30709085
Change-Id: I18edf220a62228872793fb5b655b02751f38e1f5
(cherry picked from commit cdb0f56db8)
2016-08-19 18:02:58 +00:00
Fan Zhang
e90777710c Extend conditional button width so it has more click area.
Bug: 30822058
Change-Id: I88a88c7807309741113e4b5557686c08261eb5d0
(cherry picked from commit 40b56b4c15)
2016-08-19 16:56:04 +00:00
Maurice Lam
a3397cbbcc Use different text in fingeprint intro for SUW
Bug: 30681287
Change-Id: Idd03b96c9447523f3128e559be213d89691f4ce1
2016-08-05 12:06:05 -07:00
Fan Zhang
fa41bf14fc Merge "Hide travel abroad button initially." into nyc-mr1-dev 2016-08-03 21:59:07 +00:00
Fan Zhang
79378ebf91 Hide travel abroad button initially.
Bug: 30632031

This button needs to be initially hidden so user can't accidentally
click it before data is ready.

Change-Id: I8cdd1f68bdcb5ba7ecbde34e72d85a5da1fa4a3d
2016-08-03 12:58:07 -07:00
Jorim Jaggi
2d3a1cd8bd Update string for FallbackHome
Also add some margins in case the string is really long

Change-Id: I0b5246d51d670316c8578475aedac00f8c090e57
Fixes: 30213213
2016-08-02 22:19:42 +02:00
Jorim Jaggi
984079442f Show progress user unlocking is delayed
Sometimes it takes a while to unlock a user, for example, after an OTA.

In these cases, we show a progress bar in FallbackHome so the user knows
that something is happening.

Fixes: 30213213
Change-Id: Ie36a9b3107c32ff46a8890818d1f26ccf310ee6c
2016-08-02 20:02:42 +02:00
Fan Zhang
b3e657211d Align battery consumer app title to view start.
Bug: 30161009

This makes sure in RTL language app titles start from right.

Change-Id: I87030121f39519d09e5872eb4c01ec682f69db55
2016-07-29 14:00:31 -07:00
Doris Ling
a2b693db93 Merge "Update UI for gesture settings." into nyc-mr1-dev 2016-07-28 23:28:17 +00:00
Doris Ling
d59fcc94be Update UI for gesture settings.
1. Add list divider between each gesture preference
2. Increase top-padding from 16dp to 24dp
3. Move fingerprint swipe preference to the top of the list
4. Change default value for fingerprint swipe to OFF.

Bug: 30416729
Change-Id: If0a6ee080defb2e3dbd36fbda6e047c23a1b1026
2016-07-28 13:54:14 -07:00
Fan Zhang
66cc2def90 Add non-transparent background to dashboard items.
Bug: 30297664

In previous CL I missed the background on this tile.

Change-Id: I87b1716dbcb0f79c6f7532f3ac2397feb3b4dfd0
2016-07-28 10:49:38 -07:00
Fan Zhang
6b75a69195 Add non-transparent background to dashboard items.
Bug: 30297664
Change-Id: Ia6173e8b0d5852a1c454ae466886f894c72e3e5f
2016-07-22 17:14:48 -07:00
Anna Galusza
bbb844f94d Merge "Fix font and display size settings pages for small screens." into nyc-mr1-dev 2016-07-22 21:09:35 +00:00
Anna Galusza
798b35ac09 Fix font and display size settings pages for small screens.
This was particularly broken in split-screen mode.

Bug: 29835212
Change-Id: I141f659e2d2d282d5af1ae97d6c798e53f71f766
2016-07-22 20:06:42 +00:00
Daniel Nishi
391f67e484 Merge "Update the Bluetooth pin pairing view to the new spec." into nyc-mr1-dev 2016-07-20 23:52:59 +00:00
Daniel Nishi
e8869e8a23 Update the Bluetooth pin pairing view to the new spec.
Bug: 30191613
Change-Id: Ib7b5f1758be0af33f6ea60d581a27df4801fc835
2016-07-20 14:17:42 -07:00
Fan Zhang
ccc8641d71 Let talkback announce category name in Settings.
Bug: 30082459
Change-Id: Id88e5b6d361ebc6863a30a765323a74345657c39
2016-07-15 13:14:09 -07:00
Matthew Fritze
44564126c3 Settings ViewPager now correctly handles RTL mode
Previously, the settings and support tabs were incorrectly orderded,
and had inverted transitions on click and on swipe.
Ordering of tabs now correctly displays All Settings as the default,
right tab, and the Support tab to its left. The tab headers also now
function properly in transition, and onclick.

Change-Id: Iab499ee13433cb78941bc33cbb0e99ffe2937174
Fixes: 30079049
2016-07-15 11:55:53 -07:00
Fan Zhang
55c6ea25f4 Tweak layouts to make support UI look better.
Fixes: 30087623

- Removed some padding and hide empty textviews.

Change-Id: Id8476aa3870d796c5f5a34c2f3fa6db34918691b
2016-07-13 10:19:56 -07:00
Tony Mak
9c26c9dba6 Remove KeyboardView in ChooseLockPassword
1. We actually use user installed keyboard
2. Request focus on the edittext instead of the keyboard

Bug: 24900754

Change-Id: I6257a592ad34875d46c5c05349098b891ef37d98
2016-07-12 13:06:26 +00:00
Tony Mak
0bbcdccdbf Visualize password requirements and their fulfillment
1. Aggregate policies and generate the requirements
2. When user modifies the password, check is each requirement fulfilled
   Update the view accordingly.

Change-Id: I962ed3b81ce844006be1024a493e94ce52a3fdec
Fix: 24900754
2016-07-12 11:19:45 +01:00
Maurice Lam
68d65abaaa Merge "Update button styles for fingerprint" into nyc-mr1-dev 2016-07-12 01:51:11 +00:00
Fan Zhang
48aab452cb UI updates for support tab.
Fixes: 29999181
Fixes: 29397123

- Reduce support tile min height to 48dp.
- Add a 8dp spacer between escalation card and first support tile.
- Show different off-hour support escalation title when support hour is
  always avaiable.

Change-Id: I4dacf2b375734c4819b9b19b68fc84faf083c0d4
2016-07-08 10:26:29 -07:00
Fan Zhang
96bc7b5d03 Merge "Wrap bluetooth edit content in a scrollview." into nyc-mr1-dev 2016-07-07 20:30:00 +00:00
Doris Ling
1b41dd7f8c Merge "Add padding for the animation in the gestures settings." into nyc-mr1-dev 2016-07-07 16:58:40 +00:00
Fan Zhang
8924756a2b Wrap bluetooth edit content in a scrollview.
Bug: 28914094

In split screen the dialog content is too tall to fit in viewport. Wrap
content in a scrollview so user can scroll vertically for different
options, and have a visual indication that content is scrollable.

Change-Id: Ia304dca6747cec6f31e86ccf89003ef6890e0640
2016-07-06 18:18:50 -07:00
Doris Ling
41d06570a4 Add padding for the animation in the gestures settings.
Add padding around the animation video in landscape mode to make it look
more proportional.

Bug: 29792743
Change-Id: I52cfcecd680a118741d8ced18afd9fc811a33d94
2016-07-06 14:59:33 -07:00
Doris Ling
9a3cf7725b Fix layout transition from Display->Ambient Display to Gestures
1. Add handling in Gestures settings to scroll to the corresponding
preference when launching from Display->Ambient Display
2. Remove the bitmap creation for the video preview image
3. Use a custom aspect ration framee layout to hold the animation
instead to avoid resizing of the animation view.

Bug: 29795707
Change-Id: I67209ba2508a93da4fc46ff20986309dbe5a83d5
2016-07-06 13:21:08 -07:00
Maurice Lam
584a11ec4a Update button styles for fingerprint
Use button styles instead of list style because of UX spec change.

Bug: 29421687
Change-Id: Icf178c881c2325b6183de8667a5657b3d2088f72
2016-07-06 18:15:06 +00:00
Fan Zhang
016bd60491 Update escalation cards layout and data binding.
Bug: 29397123

- Updated the UI for support escalation cards so different state have
  the same height and text/button shows up at roughly same place.
- Split data model for escalation cards from SupportData. The data and
  UI between escalation cards and support tiles are different enough
  that it no longer makes sense to share the same data object.

Change-Id: I328cc33961b9638e5e5fc2cad3ebf443991f4d0c
2016-06-30 13:57:22 -07:00
Fan Zhang
0293fb40f2 Merge "Update UI for support tab." into nyc-mr1-dev 2016-06-30 15:22:02 +00:00
Fan Zhang
e5b195b37a Merge "UI Tweak: update setting dashboard cards background color." into nyc-mr1-dev 2016-06-29 18:18:33 +00:00
Fan Zhang
d89d60d9ca Update UI for support tab.
Bug: 29397123
Bug: 29832054

- Increase spinner dropdown width to contain country names.
- Reduce suggestion counter's right padding.
- Tweak paddings in travel abroad phone dialog.
- Update icon and text for help&feedback / tips&tricks.

Change-Id: Ide52c6f8198d1a13a0fdeb000d7cb9e8c03688ca
2016-06-29 10:02:09 -07:00
Fan Zhang
106ff4ff0c Merge "Show tolled support number when click travel abroad." into nyc-mr1-dev 2016-06-28 18:07:52 +00:00
Doris Ling
d65b27a02c Merge "Update UI for Storage settings." into nyc-mr1-dev 2016-06-28 17:08:09 +00:00
Fan Zhang
8f0a0ac8e7 UI Tweak: update setting dashboard cards background color.
Bug: 29397123
Change-Id: Ie503fa6ae390db3c9e651d8b95e5c86f29bca46c
2016-06-28 08:32:31 -07:00