-1

I have two activities one with some data and the second one, semitrasparent with some buttons on it. I want the second activity slide over the first one after the swipe gesture.

I've already read about ViewPager and it's not what I am looking for. I want the first activity still being visible over the semitrasparent second one.

I am looking for any suggestions how to do this.

Robert.M
  • 1
  • 2

1 Answers1

1

Literally not possible.

The entire point of an Activity is that it fills the ENTIRE screen, and there are never 2 of them shown at the same time, ever.

So you can't swipe to "semi" open one with a slide animation.

To do that, you'll have to use 1 Activity, and multiple Fragments.

Moonbloom
  • 7,738
  • 3
  • 26
  • 38