android - HTML files for different screen from asset folder -


my application contains html files , related images.

i sized images screen size (480x800), image can fit screen width.

but when app on large screen device, images become smaller.

do need design html files multi-screen? or how make these images fit screen size?

try css.

.myfullscreenimage {    background: url(images/bg.jpg) no-repeat center center fixed;    -webkit-background-size: cover;   -moz-background-size: cover;   -o-background-size: cover;   background-size: cover; } 

and apply myfullscreenimage class <img> tag

<img src="source.jpg" class="myfullscreenimage"/>.  

let me know if works.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -