Commit 5bfb3b8d4b2151e357e8f3dff71dcf39a2f20e1b
1 parent
268e991a
调整布局
Showing
2 changed files
with
5 additions
and
3 deletions
app/src/main/res/layout/item_toolbar.xml
| @@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
| 5 | <RelativeLayout | 5 | <RelativeLayout |
| 6 | android:id="@+id/toobar" | 6 | android:id="@+id/toobar" |
| 7 | android:layout_width="match_parent" | 7 | android:layout_width="match_parent" |
| 8 | - android:layout_height="wrap_content"> | 8 | + android:layout_height="50dp"> |
| 9 | 9 | ||
| 10 | <TextView | 10 | <TextView |
| 11 | android:id="@+id/toobar_tv" | 11 | android:id="@+id/toobar_tv" |
| @@ -13,14 +13,14 @@ | @@ -13,14 +13,14 @@ | ||
| 13 | android:layout_height="wrap_content" | 13 | android:layout_height="wrap_content" |
| 14 | android:layout_centerInParent="true" | 14 | android:layout_centerInParent="true" |
| 15 | android:singleLine="true" | 15 | android:singleLine="true" |
| 16 | - android:text="" | 16 | + android:text="我的" |
| 17 | android:textColor="@color/config_black_color" | 17 | android:textColor="@color/config_black_color" |
| 18 | android:textSize="22sp" /> | 18 | android:textSize="22sp" /> |
| 19 | 19 | ||
| 20 | <View | 20 | <View |
| 21 | android:layout_width="match_parent" | 21 | android:layout_width="match_parent" |
| 22 | android:layout_height="1px" | 22 | android:layout_height="1px" |
| 23 | - android:layout_marginBottom="@dimen/_20px" | 23 | + android:paddingTop="@dimen/_20px" |
| 24 | android:background="@color/gray_line_color" /> | 24 | android:background="@color/gray_line_color" /> |
| 25 | </RelativeLayout> | 25 | </RelativeLayout> |
| 26 | 26 |
app/src/main/res/layout/user_fragment.xml
| @@ -12,6 +12,8 @@ | @@ -12,6 +12,8 @@ | ||
| 12 | android:id="@+id/toobar" | 12 | android:id="@+id/toobar" |
| 13 | layout="@layout/item_toolbar" /> | 13 | layout="@layout/item_toolbar" /> |
| 14 | 14 | ||
| 15 | + | ||
| 16 | + | ||
| 15 | <RelativeLayout | 17 | <RelativeLayout |
| 16 | android:id="@+id/config_header" | 18 | android:id="@+id/config_header" |
| 17 | style="@style/list_item_style" | 19 | style="@style/list_item_style" |