8
8
android : paddingEnd =" 8dp"
9
9
android : paddingRight =" 8dp" >
10
10
11
- <View
12
- android : id =" @+id/leftBar"
13
- android : layout_width =" 8dp"
14
- android : layout_height =" match_parent"
15
- android : layout_alignBottom =" @+id/contentView"
16
- android : layout_alignParentTop =" true"
17
- android : background =" @android:color/holo_blue_dark" />
18
11
19
12
<LinearLayout
20
- android : id =" @+id/senderTile"
21
13
android : layout_width =" match_parent"
22
14
android : layout_height =" wrap_content"
15
+ android : orientation =" vertical"
23
16
android : layout_toEndOf =" @+id/gravatar"
24
17
android : layout_toRightOf =" @+id/gravatar"
25
- android : gravity =" center_vertical"
26
- android : orientation =" horizontal"
27
- android : paddingLeft =" 8dp"
28
- android : paddingStart =" 8dp"
29
- tools : background =" #FFF" >
18
+ android : id =" @+id/contentBox"
19
+ >
30
20
31
- <TextView
32
- android : paddingTop =" 10dp"
33
- android : id =" @+id/senderName"
34
- android : layout_width =" 0dp"
21
+ <LinearLayout
22
+ android : id =" @+id/senderTile"
23
+ android : layout_width =" match_parent"
35
24
android : layout_height =" wrap_content"
36
- android : layout_weight =" 1"
37
- android : textColor =" @color/colorTextPrimary"
38
- android : textStyle =" bold"
39
- tools : text =
" Sender < [email protected] > " />
40
-
41
- <TextView
42
- android : id =" @+id/timestamp"
43
- android : layout_width =" wrap_content"
44
- android : layout_height =" wrap_content"
45
- android : textColor =" @color/colorTextTertiary"
46
- tools : text =" 17:45" />
25
+ android : gravity =" center_vertical"
26
+ android : orientation =" horizontal"
27
+ android : paddingLeft =" 8dp"
28
+ android : paddingStart =" 8dp"
29
+ tools : background =" #FFF" >
47
30
31
+ <TextView
32
+ android : paddingTop =" 10dp"
33
+ android : id =" @+id/senderName"
34
+ android : layout_width =" 0dp"
35
+ android : layout_height =" wrap_content"
36
+ android : layout_weight =" 1"
37
+ android : textColor =" @color/colorTextPrimary"
38
+ android : textStyle =" bold"
39
+ tools : text =
" Sender < [email protected] > " />
48
40
49
- </LinearLayout >
41
+ <TextView
42
+ android : id =" @+id/timestamp"
43
+ android : layout_width =" wrap_content"
44
+ android : layout_height =" wrap_content"
45
+ android : textColor =" @color/colorTextTertiary"
46
+ tools : text =" 17:45" />
50
47
51
- <TextView
52
- android : id =" @+id/contentView"
53
- android : layout_width =" match_parent"
54
- android : layout_height =" wrap_content"
55
- android : layout_below =" @+id/senderTile"
56
- android : layout_marginTop =" 4dp"
57
- android : layout_toEndOf =" @+id/gravatar"
58
- android : layout_toRightOf =" @+id/gravatar"
59
- android : paddingEnd =" 16dp"
60
- android : paddingLeft =" 8dp"
61
- android : paddingRight =" 16dp"
62
- android : paddingStart =" 8dp"
63
- tools : text =" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam mollis pretium purus, faucibus accumsan enim placerat non. " />
64
48
65
- <FrameLayout
66
- android : id =" @+id/load_image_container"
67
- android : layout_width =" match_parent"
68
- android : layout_height =" 175dp"
69
- android : layout_below =" @id/contentView"
70
- android : layout_centerHorizontal =" true"
71
- android : layout_marginLeft =" 16dp"
72
- android : layout_marginTop =" 20dp"
73
- android : maxHeight =" 200dp"
74
- android : visibility =" gone"
75
- tools : visibility =" visible" >
49
+ </LinearLayout >
76
50
77
- <ImageView
78
- android : id =" @+id/load_image "
79
- android : layout_width =" wrap_content "
51
+ <TextView
52
+ android : id =" @+id/contentView "
53
+ android : layout_width =" match_parent "
80
54
android : layout_height =" wrap_content"
81
- android : layout_gravity =" center"
82
- android : background =" @color/colorAccent"
83
- android : scaleType =" centerInside"
84
- tools : src =" @drawable/ic_arrow_back_24dp" />
55
+ android : layout_marginTop =" 4dp"
56
+ android : paddingEnd =" 16dp"
57
+ android : paddingLeft =" 8dp"
58
+ android : paddingRight =" 16dp"
59
+ android : paddingStart =" 8dp"
60
+ tools : text =" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam mollis pretium purus, faucibus accumsan enim placerat non. " />
85
61
86
- </FrameLayout >
62
+ <FrameLayout
63
+ android : id =" @+id/load_image_container"
64
+ android : layout_width =" match_parent"
65
+ android : layout_height =" 175dp"
66
+ android : layout_marginTop =" 20dp"
67
+ android : maxHeight =" 200dp"
68
+ android : visibility =" gone"
69
+ tools : visibility =" visible" >
70
+
71
+ <ImageView
72
+ android : id =" @+id/load_image"
73
+ android : layout_width =" wrap_content"
74
+ android : layout_height =" wrap_content"
75
+ android : layout_gravity =" center"
76
+ android : background =" @color/colorAccent"
77
+ android : scaleType =" centerInside"
78
+ tools : src =" @drawable/ic_arrow_back_24dp" />
79
+
80
+ </FrameLayout >
81
+
82
+ </LinearLayout >
87
83
88
84
<ImageView
89
85
android : paddingTop =" 10dp"
97
93
android : scaleType =" centerInside"
98
94
android : src =" @android:drawable/presence_online" />
99
95
96
+ <View
97
+ android : id =" @+id/leftBar"
98
+ android : layout_width =" 8dp"
99
+ android : layout_height =" match_parent"
100
+ android : layout_alignBottom =" @id/contentBox"
101
+ android : layout_alignParentTop =" true"
102
+ android : background =" @android:color/holo_blue_dark" />
100
103
</RelativeLayout >
0 commit comments