D davidagreen New Member Licensed User Longtime User Mar 13, 2013 #1 I have added a public calendar to view in a WebView and it works fine on Android 4+ but refuses to scroll (but will resize) on some phones with older Android versions. At least I think that is the issue. Has anybody a solution? Thanks in anticipation. Dim wvCalendar As WebView ... ... wvCalendar.LoadUrl("https://www.google.com/calendar/embed?title=RISS%20Events&showNav=0&showTabs=0&sho wTz=0&mode=AGENDA&height=400&wkst=2&hl=en_GB&bgcol or=%23ccffff&src=wolfert.nl_f2a6ohps5l7ab17drl5jso 7l1g%40group.calendar.google.com&color=%230D7813&s rc=wolfert.nl_jqdgt7s7i6gh3c8ua83hg5f5k0%40group.c alendar.google.com&color=%23BE6D00&src=ht3jlfaac5l fd6263ulfh4tql8%40group.calendar.google.com&color= %23333333&ctz=Europe%2FAmsterdam")
I have added a public calendar to view in a WebView and it works fine on Android 4+ but refuses to scroll (but will resize) on some phones with older Android versions. At least I think that is the issue. Has anybody a solution? Thanks in anticipation. Dim wvCalendar As WebView ... ... wvCalendar.LoadUrl("https://www.google.com/calendar/embed?title=RISS%20Events&showNav=0&showTabs=0&sho wTz=0&mode=AGENDA&height=400&wkst=2&hl=en_GB&bgcol or=%23ccffff&src=wolfert.nl_f2a6ohps5l7ab17drl5jso 7l1g%40group.calendar.google.com&color=%230D7813&s rc=wolfert.nl_jqdgt7s7i6gh3c8ua83hg5f5k0%40group.c alendar.google.com&color=%23BE6D00&src=ht3jlfaac5l fd6263ulfh4tql8%40group.calendar.google.com&color= %23333333&ctz=Europe%2FAmsterdam")
warwound Expert Licensed User Longtime User Mar 13, 2013 #2 The WebView in older versions of Android did not fully support the HTML frame element. I'd guess your calendar is displayed in a frame. This forum uses frames to display code blocks in forum posts, if you load a forum page into a WebView on older versions of Android (2.? such as Froyo and Gingerbread) you'll see a long code block (in a frame) is not scrollable. The same page will display properly using a WebView in ICS and the code block will scroll as expected. Try it yourself, load this recent non-related post of mine in your WebView and run your project on different Android versions. There is no fix and no workaround that i know of. Martin.
The WebView in older versions of Android did not fully support the HTML frame element. I'd guess your calendar is displayed in a frame. This forum uses frames to display code blocks in forum posts, if you load a forum page into a WebView on older versions of Android (2.? such as Froyo and Gingerbread) you'll see a long code block (in a frame) is not scrollable. The same page will display properly using a WebView in ICS and the code block will scroll as expected. Try it yourself, load this recent non-related post of mine in your WebView and run your project on different Android versions. There is no fix and no workaround that i know of. Martin.
D davidagreen New Member Licensed User Longtime User Mar 15, 2013 #3 Thanks Martin, I was afraid it was something like that. Dave