Commit Graph

10 Commits

Author SHA1 Message Date
Daisuke Miyakawa
d1c22a1b56 Show more graceful screens for "add network" flow
- use TableLayout instead of RelativeLayout for
  wifi configuration to align each columns appropriately.
- split @id/type field into two fields in SetupWizard

Bug: 3403168
Change-Id: I37f2c60ce1b0473af7d20dee1775e9893d2abade
2011-03-02 13:05:14 -08:00
Daisuke Miyakawa
14cbcb7fe8 Revise layout for Wifi Setup in XLarge screen
- revise xml for new layout
- introduce padding View objects for resizing screen when
  software keyboard is shown.
- We now don't show the detailed status of Wi-Fi module anymore
  in SetupWizard flow (like "disconnected", "connecting", etc.)
- remove Forget button and relevant code.

Bug: 3347865
Change-Id: Ieab3246f06ee73af59e247b3f9f31c7570efc71f
2011-01-17 13:34:21 -08:00
Daisuke Miyakawa
cde3083fb5 Show password field when authentication failed.
- add onAuthenticationFailure() method to prepare
  appropriate UIs.
- set "edit" boolean to true so that users can modify
  password when re-seleting a network.
- keep mStatusText shown for simplicity. It has been hidden
  during "editing" phase, but we don't need to do that any more
- modify Connect button handling so that the button
  hides/appears at appropriate time
- manage visibility state of some fields so that
  we can "reset" the status when authentication failed
- show keyboard again when password field re-appears

Bug: 3330109
Change-Id: I1cdf0573280ab46882117e21501a43a447e50b40
2011-01-12 09:59:43 -08:00
Daisuke Miyakawa
fdb9343ef6 Stop showing software keyboard when appropriate
This change assumes the structure inside layout file.
We will change the structure inside the layout, so
fundemental fix should come along the layout change.

Also let software keyboard hide when appropriate.
onBackButtonPressed() loses the focus and hiding
the keyboard doesn't work fine after the call.

Bug: 3192886
Change-Id: Ifd28d1f1fd0d6f72dc1c32c066dd793c6f9f36ab
2010-11-12 18:09:23 -08:00
Daisuke Miyakawa
91e9683d8f Set attachToRoot instead of manually doing so.
Bug: 3053354
Change-Id: I065c16cd5af3b438d02d6a0b0da080295e9c17cb
2010-11-12 09:48:08 -08:00
Daisuke Miyakawa
115ea8aa37 Comment out hidden method call.
Bug: 3053354
Change-Id: I5fb5d6eb33e50209c85a95065ac3d0cefb983f6b
2010-11-11 18:28:15 -08:00
Daisuke Miyakawa
40124c30a9 Delay showSoftInput() call.
We need to wait onFocusView() call back for actually showing
software keyboard.

Bug: 3053354
Change-Id: Idd946e3b8a372ddbabb8b36600c77290f77a06e6
2010-11-11 16:58:04 -08:00
Daisuke Miyakawa
cc13e0b2e4 Add more useful logs.
Bug: 3053354
Change-Id: I917bad7efb55e4155f47257672becbb57995ff7c
2010-11-10 21:33:05 -08:00
Daisuke Miyakawa
c81d3768d2 Add log message for requstFocus()
Bug: 3053354
Change-Id: I0fa20b5036d46fb909e778672bc476aeaf57af76
2010-11-10 18:24:13 -08:00
Daisuke Miyakawa
58b0291fe6 Refactor WiFi code around XL setup
Major:
- move SetupWizard-related codes to WifiSettingsForSetupWizardXL as
  much as possible
- stop using Preference for configurinig wifi network. We use
  WifiConfigUiForSetupWizardXL instead, which is base on a bare View.

Minor:
- change button handling code expecting better readability.
- hide Detail button.
- modify strings a bit.
- add logs

Bug: 3175016
Change-Id: I5b29917af73aac6a82e13ba846a9d5085f9bd523
2010-11-10 15:31:10 -08:00