Search

8/15/2011

Targeting Screens from Web Apps | Android Developers

Targeting Screens from Web Apps | Android Developers
That's an example of just two viewport properties. The following syntax shows all of the supported viewport properties and the general types of values accepted by each one:


<meta name="viewport"
content="
height = [pixel_value | device-height] ,
width = [pixel_value | device-width ] ,
initial-scale = float_value ,
minimum-scale = float_value ,
maximum-scale = float_value ,
user-scalable = [yes | no] ,
target-densitydpi = [dpi_value | device-dpi |
high-dpi | medium-dpi | low-dpi]
" />

沒有留言: