The standard way you force the size of a view is with android:layout_width="999dp" and android:layout_height="999dp".
On Sun, Apr 26, 2009 at 4:24 PM, Lucius Fox <[email protected]> wrote: > > Hi, > > Can you please tell me how can i set the width and height of an > ImageView programmically in java code (not layout xml file)? > I tried setMinimumWidth/setMinimumHeight, but that does not work. I > have looked at the view in HierarchyView, it still said the width to > be 80 and height to be 100. And that is not the value I set. > > Thank you. > > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

