First of all you have to download the library project into your system.
After downloading the library project If you want to use that control in your project then you have to add that library project in your project.
To add library project You have import library project in your workspace. After importing you need to add it in your project as library.
To add project as library in your project right click on your project `Goto Properties>Select Android tab from left side and check on right side below the api levels you will get option Add.. >Click on Add.. and will show the list of the library projects and from that select your library project> Apply.
Check out the below screenshots for more details.


To use the layout, simply include com.sothree.slidinguppaneldemo.SlidingUpPanelLayout
as the Root element in your activity Layout. Make sure that it has two children. The first child is your main layout. The second child is your layout for the sliding up panel. Both children should have width and height set to match_parent
.
<com.sothree.slidinguppanel.SlidingUpPanelLayout
android:id="@+id/sliding_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Main Content"
android:textSize="16sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center|top"
android:text="The Awesome Sliding Up Panel"
android:textSize="16sp" />
</com.sothree.slidinguppanel.SlidingUpPanelLayout>