layout_toolbar.xml
1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:appNs="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:id="@+id/ll_toolBar"
android:background="@color/bg_header">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="@dimen/toolbar_height"
android:orientation="vertical">
<ImageView
android:id="@+id/iv_home"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:padding="5dp"
android:src="@drawable/home_ic"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="horizontal">
<TextView
android:id="@+id/tv_pageTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="HOME"
android:textStyle="bold"
android:textColor="@color/white"/>
</LinearLayout>
<ImageView
android:id="@+id/imv_menu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:layout_alignParentRight="true"
android:padding="6dp"
android:src="@drawable/list_ic"/>
</RelativeLayout>
</RelativeLayout>