Discussion Forums  >  WebViews and HTML for Mobile

Replies: 2    Views: 123

Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
10/08/12 04:08 AM (13 years ago)

webview screen re size. can i apply to native?

I have made an html form and when viewed via custom url screen it is re sized to fit nicely in the screen. My question is how can i apply same effect when viewing via android native browser? Thanks
 
mc
Android Fan
Profile
Posts: 2
Reg: Sep 27, 2012
Warsaw
2,370
like
10/28/12 12:58 AM (13 years ago)
Quite interesting, I'm facing exactly vice-versa: when opening a given URL as "Launch Native App" (opens WWW browser), it resizes nicely (fit to screen), but when I'm trying to open the same URL with "custom URL" plugin (or "custom HTML/text") it doesn't resize... The URL I'm opening is: <a href="http://www.meteo.pl/um/php/meteorogram_list.php?ntype=0u&row=406&col=250&lang=pl&cname=Warszawa" target="_blank" rel="nofollow">http://www.meteo.pl/um/php/meteorogram_list.php?ntype=0u&row=406&col=250&lang=pl&cname=Warszawa</a> @Mr stuck: what's the URL you're trying to open? We could compare the <header> sections of each, which might be the answer.
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
10/29/12 07:10 AM (13 years ago)
@mc sorry for late reply. Will post link later as at work. The link you posted opens as normal webpage view in my android browser. Will try it via custom url when i get the chance.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.