Image scaling

Put your problem here if it does not fit any of the other categories.

Image scaling

Postby eehksar » Thu Jun 24, 2010 5:15 am

Hi All,

I am used to html ... which allows one to simply specify percentage wise the image scaling required ie ="80%"
But I can't seem to find an equivalent in android... does it exist ?

Why can't I do something like...

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <ImageView
  2.   android:layout_height="80%"
  3.   android:layout_width="80%"
  4.   ... />
Parsed in 0.001 seconds, using GeSHi 1.0.8.4


... ?
eehksar
Developer
Developer
 
Posts: 26
Joined: Tue Feb 09, 2010 10:21 am

Top

Re: Image scaling

Postby eehksar » Thu Jun 24, 2010 5:39 am

anybody ? .. can't be that difficult can it ?
eehksar
Developer
Developer
 
Posts: 26
Joined: Tue Feb 09, 2010 10:21 am

Re: Image scaling

Postby eehksar » Fri Jun 25, 2010 9:04 am

ok.. if this is not possible.. can someone give an alternative atleast... ?
eehksar
Developer
Developer
 
Posts: 26
Joined: Tue Feb 09, 2010 10:21 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 15 guests