forked from APIJSON/APIJSON-Demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomment_view.xml
More file actions
77 lines (66 loc) · 2.79 KB
/
comment_view.xml
File metadata and controls
77 lines (66 loc) · 2.79 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/ll_vertical_match_wrap"
android:background="@color/white"
android:descendantFocusability="blocksDescendants" >
<RelativeLayout
style="@style/match_wrap"
android:paddingRight="10dp" >
<ImageView
android:id="@+id/ivCommentHead"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_margin="10dp" />
<TextView
android:id="@+id/tvCommentReply"
style="@style/text_small_blue"
android:layout_alignParentRight="true"
android:layout_alignTop="@id/ivCommentHead"
android:background="@drawable/bg_item_to_alpha"
android:text="回复" />
<LinearLayout
android:id="@+id/llCommentUser"
style="@style/ll_vertical_match_wrap"
android:layout_alignBottom="@id/ivCommentHead"
android:layout_alignTop="@id/ivCommentHead"
android:layout_toLeftOf="@+id/tvCommentReply"
android:layout_toRightOf="@+id/ivCommentHead"
android:gravity="left" >
<TextView
android:id="@+id/tvCommentName"
style="@style/text_small_blue"
android:layout_width="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_item_to_alpha"
android:ellipsize="marquee"
android:gravity="left"
android:singleLine="false" />
<TextView
android:id="@+id/tvCommentTime"
style="@style/text_micro"
android:text="20:13" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/llCommentUser"
android:layout_toRightOf="@id/ivCommentHead"
android:orientation="vertical" >
<TextView
android:id="@+id/tvCommentContent"
style="@style/text_small_black"
android:layout_width="match_parent"
android:autoLink="all"
android:background="@drawable/bg_item_to_alpha"
android:gravity="top|left"
android:paddingBottom="4dp" />
<LinearLayout
android:id="@+id/llCommentContainer"
style="@style/ll_vertical_match_wrap" >
</LinearLayout>
</LinearLayout>
</RelativeLayout>
<View
style="@style/divider_horizontal_1px"
android:layout_marginTop="4dp" />
</LinearLayout>