[android-beginners] Making submenus look like the expanded menu

2009-04-30 Thread Hermes Pique
Is this supported by the framework? I find the expanded menu lookfeel much more usable. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to

[android-beginners] Handler posts and threads after onDestroy

2009-04-30 Thread Hermes Pique
Hi. My activity has a thread that performs a long-running operation and then notifies the UI thread via the activity handler. When the activity is destroyed (no matter why), I want the thread and its notification to die as quickly as possible. Based on the Handling Expensive Operations in the

[android-beginners] Re: Problem with ProgressDialog

2009-03-15 Thread Hermes Pique
I had the same problem. I don't know if it's the wrong way to do it, but not using runOnUiThread and calling start on the thread fixed it for me. I guess that if you run the thread in the UI, the thread is run inmmediatly, preventing the progess dialog from showing up. You migth need to use a

[android-beginners] Defining dialogs in layout files?

2009-03-15 Thread Hermes Pique
Is there a native way of defining dialogs (icon, title, content, buttons, etc.) in layout (xml) files? All examples I've found create dialogs through code. Thank you. H. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-beginners] android.R.anim may not have all constants?

2009-02-19 Thread Hermes Pique
Hi. I'm using android-sdk-windows-1.1_r1. I saw in some examples that android.R.anim has a lot of constants, such as slide_in_right and push_down_in. However, in my android.jar I can only see: // Field descriptor #8 I public static final int accelerate_decelerate_interpolator = 17432580;