Yeah i tried that yesterday and it dident work, but it was because my width was to short to begin width, so if your image starts out small you go with setminwidth If your image starts out wide you go with setmaxwidth On Feb 26, 2011 2:44 AM, "Miguel Morales" <[email protected]> wrote: > > Have you tried the setMaxWidth() as per the ImageView docs? > You *may* have to use setLayoutParams. Haven't tried this myself, but again it's what the docs say. > > On Fri, Feb 25, 2011 at 10:05 PM, brian purgert <[email protected]> wrote: >> >> I have a battery and on top of the battery i have a patch 9 png image that is the "battery filler" my question is how do i change the with of this image view. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > > > -- > ~ Jeremiah:9:23-24 > Android 2D MMORPG: http://developingthedream.blogspot.com/, > http://www.youtube.com/user/revoltingx > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

