OSDN Git Service

Prettify the captive portal sign-in activity
authorHugo Benichi <hugobenichi@google.com>
Wed, 17 May 2017 00:26:30 +0000 (09:26 +0900)
committerHugo Benichi <hugobenichi@google.com>
Thu, 1 Jun 2017 03:37:49 +0000 (12:37 +0900)
commita206649a6f66f16cc56db2f4e32b846d9b03501c
treeee6d8bd0fb44e6133387075f6749c5d2d1c78076
parentceb24e88cbb56aa63c990693a2d6ea35dce029f5
Prettify the captive portal sign-in activity

- fuses url bar with activity header: url is now the subtitle
- url appears as text and not as editable content
- url only shows host name
- header style is the device default for Settings
- Material progress bar
- progress bar disappears at page load finished
- webview does not jump at page load finished

Bug: 62107381
Bug: 38197949
Test: tested by manually triggering the sign-in activity
Change-Id: Id75023acad04f444dbfc41de56814a09e70cc6f9
packages/CaptivePortalLogin/res/layout/activity_captive_portal_login.xml
packages/CaptivePortalLogin/res/values/styles.xml
packages/CaptivePortalLogin/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java