On Mon, Sep 26, 2011 at 10:00 PM, Mark Murphy <[email protected]>wrote:
> > I would suggest that perhaps instead you focus on designing a layout > that provides more room for the text in the first place, then use > android:ellipsize to handle cases where the text is too long. > Hello, I think I'm not having much luck with this Theme.DIalog theme. I have tried inflating a view with the parent view set to 0 and setting the message text inside the inflated view and then calling setContentView() but got exactly the same result: the view is too small. Then I tried changing the layout as you suggest. For instance in the LinearLayout which had both layout_width and layout_height set to match_parent I tried setting them to some fixed pixel values with no result. Then I tried setting the text manually in the TextField XML element to some really long text and got a tall narrow window with no scrollbar and the bottom button stiff out of the window. I don't know if this theme was well tested but I need a popup window of some sort or else I will have to take over the whole screen with a regular Activity instead of a popup window of reduced width/height. Suggestions welcome, John Goche -- 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

