I solved this problem by using FrameLayout. The control panel I created is not a window, but a view, a part of the main activity, and I used Animation to show/hide this 'panel' so it would be looked like a real panel. Fortunately this view could match all my requirement.
2010/5/20 KerlW <[email protected]> > I want to create a panel to my main activity, this panel could show > and hide , just like the MediaController of VideoView. > First I want to write my owen ControlPanel just like MediaController, > but I found that it is impossible for me to create a new window by > calling PolicyManager.createNewWindow(contex); just an MediaController > do. > SO , how could I create a new window? Or is there other way to > implement this floating panel?? -- 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

