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" <therevolti...@gmail.com> 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 <brianpurge...@gmail.com> 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 android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> 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 android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en