westmeadboy wrote:
> I've got a ListActivity using the Theme.Dialog theme and windowNoTitle
> set to true.
> 
> Unfortunately, when I do this, the header rows (just normal rows in
> the list but they look like sub headers) refuse to fill_parent width
> (instead, they wrap_content - the header text).
> 
> I noticed this was not a problem when using the Theme theme so I
> started narrowing everything down to what was causing the problem.
> 
> The answer: windowIsFloating. Theme.Dialog sets this to true, and if I
> override this to false, then the headers happily fill the parent
> width.
> 
> Is there a way around this (because I would like to set
> windowIsFloating to true)?

What, specifically, are the headers? Just plain TextViews? TextViews
inside of RelativeLayouts? TextViews inside of RelativeLayouts inside of
a crunchy chocolate coating? Something else?

On a related note, you indicate this problem is specific to the headers,
suggesting that other rows behave normally. What is the difference, from
a layout standpoint, between them?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Beginning Android_ from Apress Now Available!

-- 
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

Reply via email to