Commit Graph

423 Commits

Author SHA1 Message Date
Amith Yamasani
7a3221bb95 Use Spinner instead of Tabs, so that a 4th entry doesn't disappear off the screen.
This is for the 3 to 4 lists that you can switch between in the Settings->Apps
screen.

Bug: 6375122

Change-Id: I8a4e46b8aa3e06bc79edb5f65400462060fe5a29
2012-05-10 15:18:25 -07:00
Amith Yamasani
48c72676b3 Merge "Apps tabs align to title on 2-pane settings." into jb-dev 2012-05-09 13:30:48 -07:00
Amith Yamasani
f0b05de3e0 Apps tabs align to title on 2-pane settings.
Pad the lists in Apps screen.
Pad the color bar to align with the list.

Bug: 6449489

Change-Id: I28c39e2aae04a1fe36c6b7dc447ae19da575edaf
2012-05-09 12:05:17 -07:00
Jean Chalard
1571c0a377 Pass the shortcut to the user dictionary provider.
Bug: 6026080

Change-Id: I87b7c8b1ae89856f393871e6d3440b43efc22a29
2012-05-09 19:57:08 +09:00
Jean Chalard
99e509cc4c Rework the list interface
Display the shortcut in the list, and remove the cross button.

Bug: 6026080
Change-Id: I7f594f07a84e4df3ad5b8160129d92d1a4b0fc28
2012-05-09 18:35:12 +09:00
Jean Chalard
ac499c34fe Remove the useless parts in the 'add word' dialog.
Bug: 6026080
Change-Id: Ic2bf6dcfc2abfe5fc07759530042299cc6a0b503
2012-05-09 17:50:18 +09:00
Jean Chalard
be07e49a92 Implement the "add word" screen according to new spec
This is only the interface. It doesn't do anything yet, so as to
avoid a too large change.

Bug: 6026080
Change-Id: I0c7f0c09f71e01b18fcb3566a3c6c4b0f0b2a0fc
2012-05-08 20:10:51 +09:00
Vikram Aggarwal
96d7eaf5f9 Merge "Center clock on phones" into jb-dev 2012-05-04 15:46:10 -07:00
Jeff Sharkey
92811829b3 Avoid animation flashing and fix padding.
Bug: 6446203
Change-Id: Icea64d5d30d894a6438af9278bc2d10b8b921d29
2012-05-04 11:54:31 -07:00
Vikram Aggarwal
69721802ee Center clock on phones
Fix b/5579000

Change-Id: I80431999939fbecdf693649d58ad2031c03208b0
2012-05-04 10:20:47 -07:00
Vikram Aggarwal
c62d321e8d UI fixes for tablets
1. Center the clock on Xoom and large tablets. Fix b/5579000

2. Correctly remove the emergency call button if the device (*cough*
   Nakasi *cough*) does not have telephone capability.

Change-Id: Ib7552dc35392a1b9d6c0381c6167949e2b163ddc
2012-05-03 12:48:48 -07:00
Vikram Aggarwal
c85f040829 Include the clock in landscape on Xoom
1. R.id.status was defined twice and was used inconsistently in code:
   (visibility set to enabled, but only on portrait...) This code removes
   the bad view.

2. The TextView date was never used, either by another layout or by
   code. Deleting this view too.

3. Including a standard status layout on smallest-width-600px, which includes
   a clock and a status message on Xoom.

Fix b/6061076

Change-Id: Ibb492e89f6a4a38ac6a22398ec9c14bbe3fb7e3d
2012-05-02 15:23:37 -07:00
Michael Jurka
c9029d99a3 New API to allow third-party apps to bind widgets
Change-Id: Ieec9f247fdbfc02c2ad8f5bb7f6b9efe0669af84
2012-04-24 18:52:53 -07:00
Daniel Sandler
4a824be44c Add notification shutoff switch to app details page.
Requires change Ieccac574.

Bug: 5547401
Change-Id: I9856658cc638723414a5c2c3c6807241c3ce6166
2012-04-23 04:53:14 -07:00
Jake Hamby
494f646a30 Remove "Searching/Tap To Pair" text from Bluetooth Settings.
The second text field next to "Available devices" in the Bluetooth
Settings device list creates a cluttered heading that wraps to multiple
lines in some locales. It's unnecessary because there's a graphical
progress spinner when searching for devices, and "Touch to pair" is
easily discoverable. Remove the second text field and the "Searching"
and "Touch to pair" string resources.

Bug: 5496221
Change-Id: I7b71222415152014426cf54fc112fe5379d350dc
2012-04-16 16:34:01 -07:00
Jeff Sharkey
e557c3349e Show data restricted apps, unify strings.
Always show apps with background data restricted, even when not
used in selected time period.  Combine measurement disclaimer into
single string, and only show for mobile networks.  Unify limit
dialog string.

Bug: 6007276, 5505010, 5495020, 5456087
Change-Id: I0ec307b330838dc9528d7e63e0ac1edd14ba122c
2012-04-13 19:45:02 -07:00
Jake Hamby
a9534367b5 Fix IME soft keyboard for Bluetooth rename device dialog.
The soft keyboard should automatically pop up when the user selects
the Bluetooth rename device menu item. Fixed by calling
setSoftInputMode(SOFT_INPUT_STATE_ALWAYS_VISIBLE) on the Window
containing the AlertDialog before showing.

The device name field should also be a single line field, with the
Done button causing the device to be renamed. Set the "singleLine"
attribute in the layout XML to true, and added a
TextView.OnEditorActionListener to set the device name and dismiss
the dialog for EditorInfo.IME_ACTION_DONE.

Bug: 5342542
Bug: 5343354
Change-Id: I550d8e9a59395ad66f8a9c11d29c0f2ef278c196
2012-03-13 20:08:22 -07:00
Irfan Sheriff
37c2c2e9a2 Remove dead strings and code
Change-Id: Iacd5c1bee978a52b2e534a2c9db5a1b98f5bd48e
2012-03-06 12:27:44 -08:00
satok
2f467dbbc4 Fix spell checker settings layout
Change-Id: Ida36af8ae4e2ebd74a29d7b941bf718604de3b12
2012-03-05 16:06:07 +09:00
Irfan Sheriff
90380120e7 Enhance and fix WPS UI
- Fixes WPS usage for open network
- Exposes WPS on UI for easy access to push button and pin based techniques
- Adds support for cancelling WPS
- Adds a dialog that reports a progress since WPS can take quite a bit of time
to complete

The WpsDialog code is enhanced from contribution by yoshihiko.ikenaga@jp.sony.com
on partner source.

Change-Id: Ib0103507e0192e8195e7bfeb1c8e8855c20e23ca
2012-03-02 14:25:00 -08:00
Irfan Sheriff
6c9c305b28 am f91e52c9: am c4bf8cd9: am 2f76aaaf: Merge "Enable EAP-pwd configuration in WiFi Settings."
* commit 'f91e52c986f4e7f8094a794c471813ac05d5d59c':
  Enable EAP-pwd configuration in WiFi Settings.
2012-03-01 23:57:12 -08:00
Partha N
ba7ee527d8 Enable EAP-pwd configuration in WiFi Settings.
EAP-pwd (RFC 5931) is an EAP method that uses a shared password
for authentication. It has the simplicity of setup as WPA2-PSK
(no certificates), but provides strong authenticaiton like 802.1x.

Modified the Settings screen so that the only visible fields
when choosing EAP-pwd are 'identity' and 'password'.

Change-Id: I9365d873b43c416ddfa4cae47b7419d902c212a7
Signed-off-by: Partha N <parthan@gmail.com>
2012-02-26 22:26:55 -08:00
Jean Chalard
3585bb1f39 Add a limit to user dictionary words length
Bug: 5998772
Change-Id: I914f2caa60a157f40cf5e05a1076153036cd4073
2012-02-14 14:47:14 +09:00
Eric Fischer
0e1dbb9421 Remove unused layout to fix the build.
Change-Id: Ibc704c30305ac33f3478c3c5ded0ddb976e3c3ce
2012-01-26 15:29:32 -08:00
Jean Chalard
75eba8cf56 Make the layout of the add word dialog easier to understand
Change-Id: I1a71d5c95c142655219c7ab3ae4f67fa0b1f3d1a
2012-01-23 16:14:37 +09:00
Tadashi G. Takaoka
faee5f4bdf Use EditorInfo.IME_FLAG_FORCE_ASCII instead of privateImeOptions
This change overrides Id40a164c.

Bug: 5850605
Change-Id: Id14aa2ebdf4087c88412ed82de75442785396b84
2012-01-17 15:04:00 +09:00
Jean Chalard
2c892d900b Change the "manage dictionaries" button to "less options"
This is supposed to be easier to understand for users.

Change-Id: I144031941712ab15fb490619c288d533ce884ee9
2011-12-16 18:31:48 +09:00
Jean Chalard
91e0f5afce Fix a bug where extract UI would be used
Step 10

Bug: 5306641
Change-Id: Ic91f25cd4304b513d9d0ad931f7a9cc53e08f975
2011-12-09 17:01:02 +09:00
Jean Chalard
127bd9894f Remove the shortcut textbox for now.
We'll reactivate it when it's supported by the system.

Step 11

Bug: 5306641
Change-Id: Ib6a673cec3c59d7396d67539940d566c122562ac
2011-12-09 15:18:35 +09:00
Jean Chalard
081842e5f1 Merge "Add the more options interface." 2011-12-08 00:53:57 -08:00
Jean Chalard
60bca710ee Add the more options interface.
The interface is not functional yet, aside from the "Manage"
button. This will come in a later change.
Step 5

Bug: 5306641
Change-Id: I4bdea099eece7ba8a50bbfb47e173036334064ea
2011-12-08 12:33:15 +09:00
Chia-chi Yeh
1cd0eba621 am 325c912a: Merge "VpnSettings: add support for server certificates." into ics-mr1
* commit '325c912ae64e9559cf2e84d5c94d81a0e8a15c48':
  VpnSettings: add support for server certificates.
2011-12-07 12:30:22 -08:00
Jean Chalard
6b8e6585c6 Move adding word functionality to the new interface
Step 4

Bug: 5306641
Change-Id: I150fd93e9802e92b4cf084867f0a9d1bc382cdae
2011-12-07 16:41:58 +09:00
Jean Chalard
0824d31aea Add the cancel button handler
Step 3

Bug: 5306641
Change-Id: Ida4ccf181942714799576fde0ac55596ce043434
2011-12-07 12:05:58 +09:00
Jean Chalard
e17eefab87 Add the new add_word interface.
This is step 2. The interface is not functional yet.

Bug: 5306641
Change-Id: Idc8d07b883a17067f777c86d83994fb040b37c59
2011-12-07 11:48:19 +09:00
Chia-chi Yeh
f5317a151b VpnSettings: add support for server certificates.
Bug: 5714397
Change-Id: I5ce13e244fba554bec31c4935571b09127b9270a
2011-12-06 17:51:01 -08:00
Gilles Debunne
5a107635e5 am 1663522e: Merge "Fixed layout for "Available Devices" in Bluetooth" into ics-mr1
* commit '1663522e1a835ac69f58d7764aebe935c679c288':
  Fixed layout for "Available Devices" in Bluetooth
2011-12-02 13:44:13 -08:00
Gilles Debunne
1663522e1a Merge "Fixed layout for "Available Devices" in Bluetooth" into ics-mr1 2011-12-02 10:22:25 -08:00
Daniel Sandler
1e219778ed Pulling screen savers for now. DO NOT MERGE.
Bug: 5689684
Change-Id: Ida6f23484c91d1cde539fc4a64e467970fa1fdb3
2011-11-30 14:32:53 -05:00
Gilles Debunne
648f4f6688 Fixed layout for "Available Devices" in Bluetooth
Bug 5646340.

'Title' and 'scanning' text are on the same line as a PreferenceCategory.
The first one has a 0dp width, compensated by a 1 weight.

When scanning is not displayed, it should be GONE rather than INVISIBLE
to let the title take the whole space.

When both are visible, they should split the space, or else, with long
texts in foreign languages, scanning takes the whole space, leaving the
title with an almost 0 width that generates a very high text because
of wrapping.

Distributing size among the two texts to accomodate for such cases.

Changed padding and alignment to get reasonnable results for Slovenian
language (i.e. very long text), when both title and scanning are displayed.

Strangely, the right scanning alignment is not enforced, although I checked
it is correctly set on the TextView. Not investigating further now since it
may not be desired by UX anyway.

Change-Id: I6b4c6fcbc350d3664749f58eee34ec0867720626
2011-11-22 10:45:18 +01:00
Freeman Ng
800a0a426d am 2fa017f8: Merge "fix datetime layout for phones and remove orientation locking" into ics-mr1
* commit '2fa017f874d20a5b037ebe57f3fc0c53964080bc':
  fix datetime layout for phones and remove orientation locking
2011-11-21 21:08:31 -08:00
Freeman Ng
5a82528089 fix datetime layout for phones and remove orientation locking
The first fixes the bug, the second was something I noticed
while debugging. We're no longer locking setup wizard orientation
for anything screen size, and so no activities it calls needs
to do that any more, either.

bug: 5642402
Change-Id: I5911223112a19841f6b4754a70148f28a753f736
2011-11-21 14:47:02 -08:00
Freeman Ng
c303ade15b am fd2daf6a: Merge "fix npe when launching datetime settings for phone setup wizard" into ics-mr1
* commit 'fd2daf6a716006ba0b0243c523e440999610076a':
  fix npe when launching datetime settings for phone setup wizard
2011-11-17 05:45:36 -08:00
Freeman Ng
fd2945f3b1 fix npe when launching datetime settings for phone setup wizard
also slightly "modernized" the UI while I was in there by removing
the button bar and button icon

bug: 5517928
Change-Id: I502d56780d7c3bd474fc5120a0b306def3c04dd4
2011-11-15 17:15:55 -08:00
Jim Miller
054c763406 am 9e2e2420: Fix 5579440: Add transport control view to tablet unlock screens
* commit '9e2e24202d3405175f086419477d208264dfd580':
  Fix 5579440: Add transport control view to tablet unlock screens
2011-11-14 16:18:42 -08:00
Jim Miller
9e2e24202d Fix 5579440: Add transport control view to tablet unlock screens
The AM/PM indicator is no longer used in lockscreen.  This propagates
the change to the cryptkeeper.

Change-Id: Iecd99f6439b5f898443e7d5c37984f7cd7607ce5
2011-11-14 14:08:47 -08:00
Peter Ng
6312987da2 am 2215abe9: Decreased padding on switches in settings to fix bluetoot
* commit '2215abe996690ce619170240e0a617ed5a34b2ed':
  Decreased padding on switches in settings to fix bluetoot
2011-11-09 21:19:22 +00:00
Peter Ng
2215abe996 Decreased padding on switches in settings to fix bluetoot
Bug: 5525612
Change-Id: Id93e4aae8b1e36614383a09266ce6c3f715404ab
2011-11-08 16:14:20 -08:00
Svetoslav Ganov
d98b66a030 Accessibility - text formatting for service screen should use medium text.
bug:5382357

Change-Id: I5168f64f51870b130b1ddcdd3bfedd4db91b9fbd
2011-11-07 15:59:11 -08:00
Peter Ng
0c0e41b17f data usage color standardization
Change-Id: I7c46ecd5b0730dc524bc788cb941493f3534cb20
2011-10-17 17:39:16 -07:00