|
25 | 25 | android:background="?attr/colorPrimary"
|
26 | 26 | sothree:theme="@style/ActionBar" />
|
27 | 27 |
|
28 |
| - <TextView |
29 |
| - android:id="@+id/main" |
30 |
| - android:layout_width="match_parent" |
31 |
| - android:layout_height="match_parent" |
32 |
| - android:layout_marginTop="?attr/actionBarSize" |
33 |
| - android:clickable="true" |
34 |
| - android:focusable="false" |
35 |
| - android:focusableInTouchMode="true" |
36 |
| - android:gravity="center" |
37 |
| - android:text="Main Content" |
38 |
| - android:textSize="16sp" /> |
| 28 | + <LinearLayout |
| 29 | + android:layout_width="wrap_content" |
| 30 | + android:layout_height="wrap_content" |
| 31 | + android:layout_gravity="center" |
| 32 | + android:orientation="vertical"> |
| 33 | + |
| 34 | + <TextView |
| 35 | + android:id="@+id/nameMain" |
| 36 | + android:layout_width="wrap_content" |
| 37 | + android:layout_height="0dp" |
| 38 | + android:layout_weight="1" |
| 39 | + android:gravity="center_vertical" |
| 40 | + android:textSize="14sp" /> |
| 41 | + |
| 42 | + <Button |
| 43 | + android:id="@+id/followMain" |
| 44 | + android:layout_width="wrap_content" |
| 45 | + android:layout_height="match_parent" |
| 46 | + android:gravity="center_vertical|right" |
| 47 | + android:paddingLeft="10dp" |
| 48 | + android:paddingRight="10dp" |
| 49 | + android:textSize="14sp" /> |
| 50 | + |
| 51 | + </LinearLayout> |
39 | 52 | </FrameLayout>
|
40 | 53 |
|
41 | 54 | <!-- SLIDING LAYOUT -->
|
|
54 | 67 | android:orientation="horizontal">
|
55 | 68 |
|
56 | 69 | <TextView
|
57 |
| - android:id="@+id/name" |
| 70 | + android:id="@+id/state" |
| 71 | + android:layout_width="0dp" |
| 72 | + android:layout_height="match_parent" |
| 73 | + android:layout_weight="1" |
| 74 | + android:gravity="center_vertical" |
| 75 | + android:paddingLeft="10dp" |
| 76 | + android:textSize="14sp" /> |
| 77 | + |
| 78 | + <TextView |
| 79 | + android:id="@+id/slideOffset" |
58 | 80 | android:layout_width="0dp"
|
59 | 81 | android:layout_height="match_parent"
|
60 | 82 | android:layout_weight="1"
|
|
0 commit comments