Re: [android-developers] Re: RelativeLayout problems
On Wed, May 23, 2012 at 04:49:27PM -0700, Erik wrote:
> I think you're overriding the original layout params when you set the new
> one. Instead, get the view's layout params, change the width and height,
> and then set them back.
>
> Though you may want to try using a LinearLayout and weight, which would do
> the layout for you.
Actually, the solution was to do what I'd planned on doing in the first
place---create the smaller copy of the original image. But, I have run
into this before with RelativeLayout, where changing the dimensions
of something wrecks the layout...so I'm really asking just to find out
why, etc.... (i.e., for future reference)
Thanks,
--jim
--
THE SCORE: ME: 2 CANCER: 0
73 DE N5IAL (/4) MiSTie #49997 < Running FreeBSD 7.0 >
spooky130u@gmail.com ICBM/Hurricane: 30.44406N 86.59909W
"Someone ever tries to kill you, you try to kill 'em right back!"
--Mal (Firefly, 1x03, Our Mrs. Reynolds)
Android Apps Listing at http://www.jstrack.org/barcodes.html
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home