Android Question WebView Width

Declan

Well-Known Member
Licensed User
Longtime User
I have a WebView that I am loading from a SQLite table.
A total of 15 columns are in the table but only 12 are displayed in the WebView.
I have changed the width in HtmlCSS to 150% then 200%
But no change - only 12 colums displayed.
How can I change the width of the WebView to allow the loading of all 15 columns?

Edit:
I have discovered that if I zoom in very large, I am able to scroll to see the right most columns - all 15.
However, It is just so large that it makes no sense.
As I zoom out (making the text smaller), I am unable to scroll to see the right most columns.
Eish: I hope this makes sense
 
Last edited:

Mahares

Expert
Licensed User
Longtime User
@Declan:
Unless you have an absolute reason why you have to import tables data into a web view, did you have a chance to explore table view class, which is much more flexible and has been updated and improved so many times by the powerhouse @klaus. In fact there are so many class versions over time, you can pick and choose. See link below that will take you there.
https://www.b4x.com/android/forum/threads/class-flexible-table.30649/
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…