Created
May 15, 2016 21:37
-
-
Save stevesohcot/2ca6e7bff432c0ae909fd2d51637821d to your computer and use it in GitHub Desktop.
Android Webview - Activity Main
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // http://stevesohcot.com/tech-lessons-learned/2016/05/15/android-webview-sample-code | |
| <RelativeLayout 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" | |
| tools:context=".MainActivity"> | |
| <WebView | |
| android:layout_width="fill_parent" | |
| android:layout_height="fill_parent" | |
| android:id="@+id/webView" | |
| android:layout_alignParentTop="true" | |
| android:layout_alignParentLeft="true" | |
| android:layout_alignParentStart="true" | |
| android:layout_alignParentBottom="true" | |
| android:layout_alignParentRight="true" | |
| android:layout_alignParentEnd="true" /> | |
| </RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment