Skip to content

Instantly share code, notes, and snippets.

@beall49
Created January 4, 2016 22:47
Show Gist options
  • Select an option

  • Save beall49/133e85838b6f641cab13 to your computer and use it in GitHub Desktop.

Select an option

Save beall49/133e85838b6f641cab13 to your computer and use it in GitHub Desktop.
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="5dp"
tools:context="rbeall.cfexcel.Web">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="2dp"
android:background="@color/primary_text"
android:orientation="vertical"
android:weightSum="1">
<ProgressBar
android:id="@+id/pBar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/webView"
android:background="@color/cardview_light_background" />
<WebView
android:id="@+id/webView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:elevation="@dimen/elevation"
android:visibility="visible" />
</LinearLayout>
</FrameLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment