how to minimize and maximize a page in Android?

1.3k views Asked by At

I've two android pages say for example media library and media player... After clicking a song in media library my song is played in media player, Now I want to minimize my media player and browse library how can I do that...

Just like google music ... see the pictures below...

You'll find media player below docked and when you click that it slides up the media player and if you slide down media player is docked... how to achieve this.

enter image description here

enter image description here

2

There are 2 answers

0
kishan On BEST ANSWER

try to this example ->>https://github.com/umano/AndroidSlidingUpPanel i hope u get ur sol

2
aldakur On

In my opinion are two different activitys. You have to launch an intent to start the second activity.

More info here: http://www.google.com/design/spec/layout/principles.html#