简体   繁体   中英

how to minimize and maximize a page in Android?

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.

在此处输入图片说明

在此处输入图片说明

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#

尝试这个例子->> https://github.com/umano/AndroidSlidingUpPanel我希望你能得到你的帮助

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM