| <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:tools="http://schemas.android.com/tools" |
| android:id="@+id/container" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| tools:context="com.android.captiveportallogin.CaptivePortalLoginActivity" |
| tools:ignore="MergeRootFrame" > |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:orientation="vertical" > |
| |
| <FrameLayout |
| android:layout_width="match_parent" |
| android:layout_height="4dp" > |
| |
| <!-- Eliminates ProgressBar padding by boxing it into a 4dp high container --> |
| <ProgressBar |
| android:id="@+id/progress_bar" |
| style="@android:style/Widget.Material.Light.ProgressBar.Horizontal" |
| android:indeterminate="false" |
| android:max="100" |
| android:progress="0" |
| android:layout_gravity="center" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" /> |
| </FrameLayout> |
| |
| <android.support.v4.widget.SwipeRefreshLayout |
| android:id="@+id/swipe_refresh" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| <WebView |
| android:id="@+id/webview" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_alignParentBottom="false" |
| android:layout_alignParentRight="false" /> |
| </android.support.v4.widget.SwipeRefreshLayout> |
| |
| </LinearLayout> |
| </FrameLayout> |