Commit 5bfb3b8d4b2151e357e8f3dff71dcf39a2f20e1b

Authored by 陈硕
1 parent 268e991a

调整布局

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