Here is the code I use in the parent activity to display a child
activity within a FrameLayout.  However this FrameLayout is just part
of a larger layout and I don't want the shadow that is normally
displayed at the top of an activity's window.  How do I get rid of the
shadow?

Much obliged to anyone who can provide the answer!

Steve


Window w = am.startActivity(id, intent);


        currentView = w.getDecorView();

        if (currentView != null) {
            currentView.setVisibility(View.VISIBLE);
            currentView.setFocusableInTouchMode(true);
            ((ViewGroup) currentView).setDescendantFocusability(
                    ViewGroup.FOCUS_AFTER_DESCENDANTS);
        }


        frame.addView(currentView);

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