mirror of
https://github.com/gsantner/dandelion
synced 2024-11-25 22:02:08 +01:00
Disabled nested scrolling in webview. Fixes #28
This commit is contained in:
parent
49ba5ca2da
commit
1a0e295aeb
2 changed files with 1 additions and 1 deletions
|
@ -281,6 +281,7 @@ public class MainActivity extends AppCompatActivity
|
||||||
this.registerForContextMenu(webView);
|
this.registerForContextMenu(webView);
|
||||||
webView.setParentActivity(this);
|
webView.setParentActivity(this);
|
||||||
webView.setOverScrollMode(WebView.OVER_SCROLL_ALWAYS);
|
webView.setOverScrollMode(WebView.OVER_SCROLL_ALWAYS);
|
||||||
|
webView.setNestedScrollingEnabled(false);
|
||||||
|
|
||||||
// Setup WebView
|
// Setup WebView
|
||||||
//TODO: Dangerous on API < 17. Can we do anything about this?
|
//TODO: Dangerous on API < 17. Can we do anything about this?
|
||||||
|
|
|
@ -44,7 +44,6 @@ import com.github.dfa.diaspora_android.activity.MainActivity;
|
||||||
import com.github.dfa.diaspora_android.task.ImageDownloadTask;
|
import com.github.dfa.diaspora_android.task.ImageDownloadTask;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.sql.Time;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Subclass of WebView which adds a context menu for long clicks on images or links to share, save
|
* Subclass of WebView which adds a context menu for long clicks on images or links to share, save
|
||||||
|
|
Loading…
Reference in a new issue