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)
committerArne Coucheron <arco68@gmail.com>
Wed, 14 Jun 2017 19:32:18 +0000 (19:32 +0000)
commit58800f682397912cabe0f8cf226b8f5570700875
tree7ac070f8b4f9d756efe21495ddd078c6ae37ecdb
parenta6a57637b6080887b310f9d3ea452e831a55a2d1
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
Merged-In: Id75023acad04f444dbfc41de56814a09e70cc6f9

(cherry pick from commit a206649a6f66f16cc56db2f4e32b846d9b03501c)

Change-Id: I5c3e5ebac18fef6611c215d04d88ffef67b2b640
packages/CaptivePortalLogin/res/layout/activity_captive_portal_login.xml
packages/CaptivePortalLogin/res/values/styles.xml
packages/CaptivePortalLogin/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java