I am working on an app for my company. One of the buttons loads a webview of a google calendar. This works pretty well and all of my other webviews scroll appropriately. However when loading this calendar it resizes to the screen size and will not scroll. I tried setting the webview in a linear layout and making the height of the webview 4096px. This extends the calendar beyond the bottom of the screen, however it will not scroll. I am learning android as I go, I have some programming experience back when I was young and all command line.
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="4096px"> <WebView android:id="@+id/webview" android:layout_width="fill_parent" android:layout_height="1020px"></WebView> </LinearLayout>
The code is
The solution I found to this is to host the calendar on my website. With an embedded width and height defined by the webpage I was able to control the action of the calendar in the webview.
Hope this helps someone else.