Adding/Removing views in Windowmanager with Animation
1,585 views
Skip to first unread message
Roopa
unread,
Dec 2, 2009, 6:13:48 AM12/2/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-platform
Hello,
I am trying to develop a service in which a view gets displayed using
WindowManager.
On Fling/Swipe I need to change the view with animation.
The current view on display should slide out and new one should slide
in.
Can i add/remove views with some animation to windomanager.
Please advice. Thanks in advance.
raj darbar
unread,
Jul 18, 2014, 9:13:10 AM7/18/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-...@googlegroups.com
Ya Sure you can add the View to WindowManager on Shake , Touch etc, but for that you have to manually code in your Project.
Such as First you have to add the non touchable View TYPE_SYSTEM_ALERT or TYPE_PHONE and after getting onTouchEvent you should remove that view and again add the newer view with TYPE_SYSTEM_OVERLAY.