is android supports auto scaling of image

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

is android supports auto scaling of image

Postby mikethelearner » Thu Feb 18, 2010 4:43 pm

hai guys,

i am developing a game. minimum screen resolution that it should support is 240 X 320 for above screen resolutions
like 320 X 480 etc the images should auto scale. how can i achieve it.
mikethelearner
Junior Developer
Junior Developer
 
Posts: 13
Joined: Mon Feb 15, 2010 3:16 pm
Location: us

Top

Postby mrco » Fri Feb 19, 2010 9:08 am

Hm... In ImageView you can set android:scaleType="fitXY"
mrco
Experienced Developer
Experienced Developer
 
Posts: 71
Joined: Fri Jan 15, 2010 11:31 am
Location: 2V Software

Postby mikethelearner » Fri Feb 19, 2010 10:24 am

i know that.
i think iam not clear.
is it possible to resize an screen or image ( like we resize a window in PC)
if yes tell me how to achieve it.

what my intension is ,we will provide a button by clicking that button user is able to resize the screen.
like as shown in attachment picture. this is done in windows mobile.
Attachments
resize game table.PNG
resize game table.PNG (486.22 KiB) Viewed 272 times
mikethelearner
Junior Developer
Junior Developer
 
Posts: 13
Joined: Mon Feb 15, 2010 3:16 pm
Location: us

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot], Majestic-12 [Bot] and 6 guests