Commit 07978ebaac1513d60f245ce53fe794ceb71a8dc0

Authored by 陈硕
1 parent 5bfb3b8d

修改布局

app/src/main/res/layout/item_toolbar.xml
1 1 <?xml version="1.0" encoding="utf-8"?>
2   -<layout xmlns:android="http://schemas.android.com/apk/res/android"
3   - >
  2 +<layout xmlns:android="http://schemas.android.com/apk/res/android">
4 3  
5 4 <RelativeLayout
6 5 android:id="@+id/toobar"
7 6 android:layout_width="match_parent"
8   - android:layout_height="50dp">
  7 + android:layout_height="60dp"
  8 + >
9 9  
10   - <TextView
11   - android:id="@+id/toobar_tv"
12   - android:layout_width="wrap_content"
13   - android:layout_height="wrap_content"
14   - android:layout_centerInParent="true"
15   - android:singleLine="true"
16   - android:text="我的"
17   - android:textColor="@color/config_black_color"
18   - android:textSize="22sp" />
  10 + <TextView
  11 + android:id="@+id/toobar_tv"
  12 + android:layout_width="wrap_content"
  13 + android:layout_height="wrap_content"
  14 + android:layout_centerInParent="true"
  15 + android:singleLine="true"
  16 + android:text="我的"
  17 + android:textColor="@color/config_black_color"
  18 + android:textSize="22sp" />
19 19  
20   - <View
21   - android:layout_width="match_parent"
22   - android:layout_height="1px"
23   - android:paddingTop="@dimen/_20px"
24   - android:background="@color/gray_line_color" />
25   - </RelativeLayout>
  20 + <View
  21 + android:id="@+id/view"
  22 + android:layout_width="match_parent"
  23 + android:layout_height="@dimen/_10px"
  24 + android:layout_alignParentBottom="true"
  25 + android:background="@color/gray_bg" />
  26 +
  27 + <View
  28 + android:id="@+id/line"
  29 + android:layout_width="match_parent"
  30 + android:layout_height="1px"
  31 + android:layout_above="@id/view"
  32 + android:background="@color/gray_line_color" />
  33 +
  34 +
  35 + </RelativeLayout>
26 36  
27 37 </layout>
28 38 \ No newline at end of file
... ...