Set height attribute for xml which u r going to show in dialog On Sep 4, 2012 4:18 PM, "tvdalia" <truptida...@gmail.com> wrote:
> > Hello, > > I create a custom AlertDilaog using inflate Layout. It uses all the > space it can. I want it to restrict the height. My Activities have differnt > part : > MainBODY > Footer > Thier is a ParentActivity that has a standard footer and in other > activities I inflate the ViewGroup in the MainBody with the layout to be > shown. On certain clicks of othe activity a dialog appears which takes all > possible space i.e. almost full screen. > I want the height of the dialog to be within the MainBody Activity > height. How do and when do I set that ? I can't find any resource for the > same. > > It would be very good if you can help me with this at the earliest. Am > stuck from 3-4 days with this problem. Any help is highly appreciated. > > Thanks > > > -- > 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