I use dp. As far as I know, although I use dp to specify the height, it still cannot resize dynamically according to the width.
2013/1/26 skink <psk...@gmail.com> > Greenhand wrote: > > To Piren: > > Thank you. Assigning a specific height to the parent works. > > The drawback is doing so is a little like hard code. > > I would like a way to let android resize them dynamically since not all > > sreen widths are the same. > > > > > > > > did you specify the height as XXXpx? > > if so, use XXXdp (device independent pixels) > > pskink > -- -- 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