I have 2 activities in my android app – mainActivity and mapActivity.
And I would like to use custom animation to switch between them.
The problem is – i would like my mapActivity to apper over the main activity just the same way (with the same behaviour) the Notification panel appears on all Androids – using vertical sliding, but from bottom to top. Is there any way to accomplish this?
thank you very much
tania
UPD: just to make it clear – i need not only SLIDING, but also this “dragging-releasing” behaviour the regular notification panel has
(so my question is NOT a duplicate)
UPD2: i know about overridePendingTransition – but how to work out the “dragging-releasing” behaviour ??
If you want to be able to drag it up and down I think your only option (or easiest option at least) is to merge the two activities into one. and create the map portion as a SlidingDrawer Or use some sort of customized View / Fragment to make it dragable.
I think it will be very difficult to make that work on top of Androids idea of an Activity