Making A Sliding Up Panel like Google Music in Android with play Music UI source code



Hello guys in this post I will tell you how you can make Google play music like sliding up panel and also we design the Google play music player UI...

Take a look on how its look like...


1. Create new project.

1. Create a new project in Android Studio from File ⇒ New Project and select Basic Activity from templates.or you can chose your existing project.



2. Add this dependency to your app/build.gradle. And Sync the project.


3. Go to app\src\main\res\values and open style.xml file and change Theme.AppCompat.Light.DarkActionbar to Theme.AppCompat.Light.NoActionBar

4. Now you need to add this color code to your project.

5. Download the draweble images from here if you don't use them you can create your own.          Download: Drawable Images

6. Open activity_main.xml file and past this code.

6.1 Now create a new activity under your Layout resource file and name it as sample.xml and past this code.



7. Now this is the time to do some coding this is just to run the full UI you can code by yourself as you want. So open your MainActivity.java file and past this code.



That's it now you can run your app and see how its look like thanks for your time. Hope you like this post. If you got any problem you can ask me in the comment section I will help you...

Download the full source code from here-> Source code download

Comments