On Wed, May 18, 2011 at 8:08 AM, String <[email protected]> wrote:
> And
> admittedly, having a menu in a Dialog is a bit weird and nonstandard, but it
> did work pre-Honeycomb. I'd rather not lose it in the migration.

I am not hopeful. Two possible workarounds:

1. On API Level 11+, use a version of the activity that isn't themed
as a dialog. I hoped you could use <activity-alias> for this, but it
doesn't seem like you can override a theme that way...

2. On API Level 11+, use a layout that incorporates a PopupMenu
somewhere, and use that for your menu. For example, you could perhaps
give your dialog its own quasi action bar, with the PopupMenu in the
upper-right corner.

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

_The Busy Coder's Guide to Android Development_ Version 3.6 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