Mujiburrohman

webview Scroll

Jun 24th, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.07 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    android:layout_width="match_parent"
  5.    android:orientation="vertical"
  6.    android:id="@+id/swipefresh"
  7.    android:layout_height="match_parent"
  8.    tools:context=".MainActivity">
  9.  
  10.     <RelativeLayout
  11.        android:layout_width="match_parent"
  12.        android:layout_height="match_parent">
  13.  
  14.         <ScrollView
  15.            android:id="@+id/scrl"
  16.            android:layout_width="match_parent"
  17.            android:layout_height="match_parent"
  18.            android:fillViewport="true">
  19.  
  20.             <WebView
  21.                android:id="@+id/webview"
  22.                android:layout_width="match_parent"
  23.                android:layout_height="match_parent"
  24.                android:visibility="gone"
  25.                tools:targetApi="lollipop">
  26.  
  27.             </WebView>
  28.  
  29.         </ScrollView>
  30.  
  31.  
  32.     </RelativeLayout>
  33.  
  34.  
  35. </android.support.v4.widget.SwipeRefreshLayout>
Advertisement
Add Comment
Please, Sign In to add comment