I've got a ListView that takes up the full screen.

Under certain conditions, I'd like to display a message
that sits on top of the ListView - i.e. a translucent message box.

I've got:

    Handler mHandler = new Handler();

        mDialogText = (TextView) inflate.inflate(R.layout.center_message, 
null );
        mDialogText.setVisibility(View.INVISIBLE);


        mHandler.post(new Runnable() {

            public void run() {
                mReady = true;
                WindowManager.LayoutParams lp = new 
WindowManager.LayoutParams(
                        LayoutParams.WRAP_CONTENT, 
LayoutParams.WRAP_CONTENT,
                        WindowManager.LayoutParams.TYPE_APPLICATION,
                        WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE
                                | 
WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE,
                        PixelFormat.TRANSLUCENT);
                mWindowManager.addView(mDialogText, lp);
            }});

It displays the message fine above the listview - but it displays above a 
open app menu
also.

what can i do to display it above the ListView but below the app menu 
layers.


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