android - NestedScrollView and WebView -
i have got nestedscrollview webview inside , using collapsing toolbar.
<?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.nestedscrollview xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="fill_vertical" > <webview android:id="@+id/webview" android:layout_width="match_parent" android:layout_height="match_parent" /> </android.support.v4.widget.nestedscrollview>
when load content of webview , content have got more height screen, works great. toolbar hiden/show on scroll.
second situation when content of webview small. when hang nestedscrollview
@ bottom , drag top, toolbar hiden , drag bottom toolbar shown.
when trying drag webview
isn't work, view still in same place.
any idea how fix this.
don't allow hide toolbar when content of webview
small or disable scroll @ webview
Comments
Post a Comment