You can declare your activity in the manifest with:

android:theme="@android:style/Theme.Dialog"

to make it semi-transparent,

and use wrap_content for both width and height in the activity's layout xml.

-- Kostya

11.12.2010 23:04, DulcetTone пишет:
I want my app to not obliterate all other apps on the screen and
perhaps to dim them or blur them while keeping just a small panel open
at the bottom.

I've tried this to no avail...

         setContentView(R.layout.main);


getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
         getWindow().addFlags(
                 WindowManager.LayoutParams.FLAG_DIM_BEHIND |
WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);

Is there a way to do this?

tone



--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

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