android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
tools:context
=
".MainActivity"
>
<
com.sothree.slidinguppanel.SlidingUpPanelLayout
android:id
=
"@+id/sliding_layout"
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:gravity
=
"top"
sothree:umanoPanelHeight
=
"68dp"
sothree:umanoShadowHeight
=
"4dp"
sothree:umanoParalaxOffset
=
"100dp"
sothree:umanoDragView
=
"@+id/dragView"
sothree:umanoOverlay
=
"true"
>
<
FrameLayout
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:orientation
=
"vertical"
>
<
RelativeLayout
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
>
<
TextView
android:id
=
"@+id/main"
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:layout_marginBottom
=
"?attr/actionBarSize"
android:gravity
=
"center"
android:text
=
"Main Content"
android:clickable
=
"true"
android:focusable
=
"false"
android:focusableInTouchMode
=
"true"
android:textSize
=
"16sp"
/>
<
android.support.v7.widget.Toolbar
android:id
=
"@+id/main_toolbar"
android:layout_height
=
"?attr/actionBarSize"
android:background
=
"?attr/colorPrimary"
android:layout_width
=
"match_parent"
sothree:theme
=
"@style/ActionBar"
android:layout_alignParentBottom
=
"true"
/>
</
RelativeLayout
>
</
FrameLayout
>
<
LinearLayout
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:orientation
=
"vertical"
android:clickable
=
"true"
android:focusable
=
"false"
android:id
=
"@+id/dragView"
>
<
ListView
android:id
=
"@+id/listview"
android:layout_width
=
"match_parent"
android:layout_height
=
"0dip"
android:layout_weight
=
"1"
android:background
=
"#000"
/>
<
LinearLayout
android:layout_width
=
"match_parent"
android:layout_height
=
"68dp"
android:orientation
=
"horizontal"
android:background
=
"@drawable/layout_drawer"
>
<
TextView
android:id
=
"@+id/name"
android:layout_width
=
"0dp"
android:layout_height
=
"match_parent"
android:layout_weight
=
"1"
android:textSize
=
"14sp"
android:gravity
=
"center_vertical"
android:paddingLeft
=
"10dp"
/>
<
ImageButton
android:id
=
"@+id/follow"
android:layout_width
=
"wrap_content"
android:layout_height
=
"match_parent"
android:textSize
=
"14sp"
android:paddingRight
=
"10dp"
android:paddingLeft
=
"10dp"
android:src
=
"@drawable/ic_drawer"
android:background
=
"@android:color/transparent"
android:gravity
=
"center_vertical|right"
/>
</
LinearLayout
>
</
LinearLayout
>
</
com.sothree.slidinguppanel.SlidingUpPanelLayout
>
</
RelativeLayout
>