0

Im currently trying to achieve the following :

enter image description here

Once one of the four card views in the background is selected it should appear in the middle of the screen... in other words ... it should come in front of everything else.

Is there an easy way to achieve this ?

Saif
  • 723
  • 6
  • 21
genaray
  • 1,080
  • 1
  • 9
  • 30
  • Create a dialog or create a layout over the four card layout with the transparent backgroud . But dialog would be a much simpler approach – Rohit Singh Jul 20 '18 at 12:13
  • @RohitSingh Is there also a way to add some animation to it ? For example that it flys to the center ? – genaray Jul 20 '18 at 12:14
  • Yep you can search for how to animate a Fragment(If you are planning to make it using transparent background). – Rohit Singh Jul 20 '18 at 12:15
  • I have never tried animating Dialog but here is a related question i guess https://stackoverflow.com/questions/4817014/animate-a-custom-dialog (If you are planning to do this with dialog) – Rohit Singh Jul 20 '18 at 12:17
  • See this link : https://github.com/alibaba/UltraViewPager – Saif Jul 20 '18 at 12:27
  • You probably looking for the view transition with animation have a look at this [animate-all-the-things-transitions-in-android](https://medium.com/@andkulikov/animate-all-the-things-transitions-in-android-914af5477d50) – Mohamed Mohaideen AH Jul 24 '18 at 09:35

0 Answers0