Android Question Webview interface elements don't match browser

barx

Well-Known Member
Licensed User
Longtime User
I'm trying to create a wrapper app to make accessing a web portal at work easier. it will basically be a webview with some other views around it like buttons with hard coded links etc.

The issue I'm having is that the web pages look nothing like they do in the standard browser or firefox browser.

Below you can see the different UI's. In the webview dropdowns don't look like dropdowns. I would love the look of the firefox interface as that is what we use right now, but have no idea how, or even if I can reproduce this.
webview / Standard Internet Browser / Firefox

screen_webview.png screen_internet.png screen_firefox.png

Also the zoom levels are completely different, these are fully zoomed out. As you can see webview won't zoom out as much.

Webview / Firefox

screen_webview_zoom.png screen_firefox_zoom.png

Any tips?
 

barx

Well-Known Member
Licensed User
Longtime User
tried that this morning tds, didn't seem to make a difference. Thanks
 
Upvote 0

warwound

Expert
Licensed User
Longtime User
I can't comment on your original question but can direct you to the (never published cos i didnt have time) update to WebViewExtras: http://b4a.martinpearman.co.uk/temp/WebViewExtras2_20131025.zip.

This new version of WebViewExtras (obviously) replaces the current version and it replaces WebViewSettings too.
When i created this new version many months back i went through all of the android WebView related classes and wrapped as many as i could.

So if you're creating a WebView based application you'll find it much better than the old versions of WebViewExtras and WebViewSettings.
The WebViewExtras.html file in that download documents all the available objects.

Lots of new classes to play with.

Martin.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I have not really much worked with webview itselfs... But i have had a look into your webviewextras and how to communicate between javascript and/or app. I did some (REALLY little) tests-projects using it. And if i had the time i would do more with them. Really great work, Martin!! And i say it against the released version of webviewextras. I have had a look into the HTML inside V2-archive and i feel.... IMPRESSED...

I really dont know how much more it is... I saw interesting features that i´ll try in future... You made an fantastic job with this library! *hats off*
 
Upvote 0

barx

Well-Known Member
Licensed User
Longtime User
I can't comment on your original question but can direct you to the (never published cos i didnt have time) update to WebViewExtras: http://b4a.martinpearman.co.uk/temp/WebViewExtras2_20131025.zip.

This new version of WebViewExtras (obviously) replaces the current version and it replaces WebViewSettings too.
When i created this new version many months back i went through all of the android WebView related classes and wrapped as many as i could.

So if you're creating a WebView based application you'll find it much better than the old versions of WebViewExtras and WebViewSettings.
The WebViewExtras.html file in that download documents all the available objects.

Lots of new classes to play with.

Martin.


Kudos my friend, will crack this open and see what occurs. I was hoping you would have some input ;)
 
Upvote 0
Top