Skip to content

Instantly share code, notes, and snippets.

@dptsolutions
Created June 1, 2016 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dptsolutions/6f48e2b68d99be05a5fac1d34b542926 to your computer and use it in GitHub Desktop.
Save dptsolutions/6f48e2b68d99be05a5fac1d34b542926 to your computer and use it in GitHub Desktop.
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!--Below FrameLayout doesn't need to be a FrameLayout. Any ViewGroup will do -->
<FrameLayout
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent"
...other attrs go here
android:visibility="gone">
<!--Content Views go here -->
</FrameLayout>
<WebView
android:id="@+id/splash"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</FrameLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment