I just tried your suggestion using two TextViews within a FrameLayout.
It works perfectly, so I don't have to worry about manually wrapping
text within an ImageView.

Here's the logic:

In my onOptionsItemSelected() method, after a menu click:

* TextView 1 is currently in the front
* Put a new background image and some new text in TextView 2
* Switch TextView 1 and TextView 2 (I keep a reference to the
"current" and "previous" TextViews, and I switch those references).
* Start fading out the new TextView 2
* Start fading in the new TextView 1
* Bring the new TextView 1 to the front.
* Return from onOptionsItemSelected().

Thanks again for your excellent suggestion!

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