narimetisaigopi

webview activity_main.java

Feb 4th, 2020
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:orientation="vertical"
  8. tools:context=".MainActivity">
  9.  
  10. <EditText
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:id="@+id/inputURl"
  14. android:hint="Input URL"/>
  15.  
  16. <Button
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:id="@+id/loadURL"
  20. android:text="Load URL"/>
  21.  
  22. <WebView
  23. android:layout_width="match_parent"
  24. android:layout_height="match_parent"
  25. android:id="@+id/webview"/>
  26.  
  27.  
  28. </LinearLayout>
Add Comment
Please, Sign In to add comment