|
1 | 1 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2 |
| - xmlns:tools="http://schemas.android.com/tools" |
| 2 | + xmlns:tools="http://schemas.android.com/tools" |
3 | 3 | android:layout_width="match_parent"
|
4 | 4 | android:layout_height="match_parent"
|
5 | 5 | tools:context=".DemoActivity" >
|
6 | 6 |
|
7 | 7 | <com.sothree.slidinguppanel.SlidingUpPanelLayout
|
8 |
| - xmlns:sothree="http://schemas.android.com/apk/res-auto" |
| 8 | + xmlns:sothree="http://schemas.android.com/apk/res-auto" |
9 | 9 | android:id="@+id/sliding_layout"
|
10 | 10 | android:layout_width="match_parent"
|
11 | 11 | android:layout_height="match_parent"
|
| 12 | + android:layout_gravity="bottom" |
12 | 13 | sothree:collapsedHeight="68dp"
|
13 | 14 | sothree:shadowHeight="4dp"
|
14 | 15 | sothree:dragView="@+id/name">
|
|
28 | 29 | android:layout_width="match_parent"
|
29 | 30 | android:layout_height="match_parent"
|
30 | 31 | android:background="#eee"
|
31 |
| - android:orientation="vertical" |
| 32 | + android:orientation="vertical" |
32 | 33 | android:clickable="true"
|
33 | 34 | android:focusable="false">
|
34 | 35 |
|
35 | 36 | <LinearLayout
|
36 | 37 | android:layout_width="match_parent"
|
37 |
| - android:layout_height="68dp" |
| 38 | + android:layout_height="68dp" |
38 | 39 | android:orientation="horizontal">
|
39 | 40 |
|
40 | 41 | <TextView
|
|
45 | 46 | android:textSize="14sp"
|
46 | 47 | android:gravity="center_vertical"
|
47 | 48 | android:paddingLeft="10dp"/>
|
48 |
| - |
| 49 | + |
49 | 50 | <Button
|
50 | 51 | android:id="@+id/follow"
|
51 | 52 | android:layout_width="wrap_content"
|
52 | 53 | android:layout_height="match_parent"
|
53 | 54 | android:textSize="14sp"
|
54 |
| - android:gravity="center_vertical|right" |
| 55 | + android:gravity="center_vertical|right" |
55 | 56 | android:paddingRight="10dp"
|
56 |
| - android:paddingLeft="10dp"/> |
| 57 | + android:paddingLeft="10dp"/> |
57 | 58 |
|
58 | 59 | </LinearLayout>
|
59 | 60 |
|
|
0 commit comments