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

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -