Satya
Satya

Reputation: 513

How to open an activity in half of the screen in android?

I want to open an activity in half of the screen, so that half of the background activity is visible.

Upvotes: 3

Views: 2039

Answers (1)

Sunil Kumar Sahoo
Sunil Kumar Sahoo

Reputation: 53657

Approach-1 If you want to show one activity on the top of another activity, then make the top activity as transparent or translucent theme in its layout, It will give you the similar look and feel. But the background elements will not clickable.

Approach-2 You can use multiple fragments to get similar look, benefit is that background elements are also click-able

Upvotes: 1

Related Questions