-2

I am developing android quiz app. I created questions as html files and copied in asset folder. I need to show these html files, one by one in Webview while swiping left to right.

1 Answers1

0

You can use a tabbed activity with only a viewpager. and add webviews as fragments. And load each HTML page to the fragment. See Tabbed Activity

NirmalCode
  • 2,140
  • 1
  • 14
  • 19
  • Somehow i completed the webview with multiple html loading. I have one more doubt. It is possible to show some portion of html file instead of showing full content. – Suresh Srinivasalu Aug 13 '18 at 03:20
  • Refer this link (https://stackoverflow.com/questions/12257929/display-a-part-of-the-webpage-on-the-webview-android) – NirmalCode Aug 14 '18 at 06:25