xfgame_back_title_bar.xml
2.6 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
android:id="@+id/xf_back_title_bar_rl"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="@dimen/xfgame_layout_width"
android:layout_height="80dp"
android:background="@drawable/xfgame_bar_bg">
<ImageView
android:id="@+id/xf_back_title_bar_left"
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_centerVertical="true"
android:layout_marginStart="@dimen/xfgame_space_normal"
android:src="@drawable/xfgame_bar_back"
android:visibility="invisible"/>
<!-- <ImageView-->
<!-- android:id="@+id/xf_back_title_bar_logo"-->
<!-- android:layout_width="@dimen/xfgame_logo_width"-->
<!-- android:layout_height="@dimen/xfgame_logo_height"-->
<!-- android:layout_gravity="center_vertical"-->
<!-- android:layout_marginStart="@dimen/xfgame_space_big"-->
<!-- android:layout_centerVertical="true"-->
<!-- android:layout_toEndOf="@id/xf_back_title_bar_left"-->
<!-- android:src="@drawable/xfgame_logo" />-->
<LinearLayout
android:layout_width="@dimen/xfgame_text_width"
android:layout_height="@dimen/xfgame_text_height"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true"
android:layout_marginStart="@dimen/xfgame_space_small"
android:orientation="horizontal"
android:gravity="center">
<TextView
android:id="@+id/xf_back_title_bar_logo_sep_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginEnd="@dimen/xfgame_space_small"
android:textSize="20sp"
android:textColor="#666666"
android:text="@string/xfgame_bar_sep"
android:visibility="gone"/>
<TextView
android:id="@+id/xf_back_title_bar_logo_text_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="20sp"
android:textColor="#000000"
android:layout_gravity="center_vertical"/>
</LinearLayout>
<ImageView
android:id="@+id/xf_back_title_bar_right"
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_centerVertical="true"
android:layout_alignParentEnd="true"
android:layout_marginEnd="@dimen/xfgame_space_normal"
android:visibility="invisible"/>
</RelativeLayout>