user_fragment.xml
4.25 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:cn="http://schemas.android.com/apk/res-auto">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<include
android:id="@+id/toobar"
layout="@layout/item_toolbar" />
<RelativeLayout
android:id="@+id/config_header"
style="@style/list_item_style"
android:layout_width="fill_parent"
android:layout_height="85dp"
android:gravity="center_vertical">
<com.cnlive.gundam.user.view.CircleImageView
android:id="@+id/head_img"
android:layout_width="55dip"
android:layout_height="55dip"
android:layout_centerVertical="true"
android:layout_marginLeft="11dp"
android:layout_marginRight="16dp"
android:src="@drawable/cnlive_user_header"
cn:border_color="@android:color/transparent" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@+id/next"
android:layout_toRightOf="@+id/head_img"
android:orientation="vertical">
<TextView
android:id="@+id/tv_nickname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="3dp"
android:gravity="center_vertical"
android:singleLine="true"
android:text="@string/click_login"
android:textColor="@color/config_black_color"
android:textSize="17sp" />
</LinearLayout>
<ImageView
android:id="@+id/next"
android:layout_width="@dimen/next_image_width"
android:layout_height="@dimen/next_image_height"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/next_image_margin_right"
android:contentDescription="@null"
android:src="@drawable/btn_channel_more" />
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="1px"
android:background="@color/gray_line_color" />
<RelativeLayout
android:id="@+id/message"
style="@style/list_item_style"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="@dimen/_20px">
<ImageView
android:id="@+id/ic_setting_opinion"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/_20px"
android:src="@drawable/ic_setting_opinion" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="30dp"
android:layout_toRightOf="@+id/ic_setting_opinion"
android:gravity="center_vertical"
android:singleLine="true"
android:text="意见反馈"
android:textColor="@color/config_black_color"
android:textSize="17sp" />
<ImageView
android:id="@+id/imv_message"
android:layout_width="@dimen/next_image_width"
android:layout_height="@dimen/next_image_height"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/next_image_margin_right"
android:contentDescription="@null"
android:src="@drawable/btn_channel_more" />
</RelativeLayout>
</LinearLayout>
</layout>