1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
2
+ <LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
3
android : layout_width =" match_parent"
4
4
android : layout_height =" 48dp"
5
5
android : orientation =" horizontal" >
6
6
7
- <View
8
- android : id =" @+id/stream_dot"
9
- android : layout_width =" 16dp"
10
- android : layout_height =" 16dp"
11
- android : layout_centerVertical =" true"
7
+ <LinearLayout
8
+ android : layout_width =" 0dp"
9
+ android : layout_height =" wrap_content"
12
10
android : layout_gravity =" center_vertical"
13
- android : layout_marginLeft =" 16dp"
14
- android : background =" @drawable/dot" />
11
+ android : layout_weight =" 1" >
15
12
16
- <TextView
17
- android : id =" @+id/unread_group"
18
- android : layout_width =" wrap_content"
19
- android : layout_height =" wrap_content"
20
- android : layout_alignParentEnd =" true"
21
- android : layout_alignParentRight =" true"
22
- android : layout_alignTop =" @+id/stream_dot"
23
- android : layout_gravity =" center_vertical|end"
24
- android : layout_marginEnd =" 30dp"
25
- android : layout_marginRight =" 30dp"
26
- android : text =" 1"
27
- android : visibility =" gone" />
13
+ <View
14
+ android : id =" @+id/stream_dot"
15
+ android : layout_width =" 16dp"
16
+ android : layout_height =" 16dp"
17
+ android : layout_gravity =" center_vertical"
18
+ android : layout_marginLeft =" 16dp"
19
+ android : background =" @drawable/dot" />
20
+
21
+ <TextView
22
+ android : id =" @+id/unread_group"
23
+ android : layout_width =" 0dp"
24
+ android : layout_height =" wrap_content"
25
+ android : layout_alignParentEnd =" true"
26
+ android : layout_alignParentRight =" true"
27
+ android : layout_alignTop =" @+id/stream_dot"
28
+ android : layout_gravity =" center_vertical|end"
29
+ android : layout_marginEnd =" 30dp"
30
+ android : layout_marginRight =" 30dp"
31
+ android : layout_weight =" 1"
32
+ android : text =" 1"
33
+ android : visibility =" gone" />
28
34
29
- <TextView
30
- android : id =" @+id/name"
35
+ <TextView
36
+ android : id =" @+id/name"
37
+ android : layout_width =" wrap_content"
38
+ android : layout_height =" wrap_content"
39
+ android : layout_gravity =" center_vertical"
40
+ android : layout_marginLeft =" 20dp"
41
+ android : layout_marginStart =" 20dp"
42
+ android : gravity =" center_vertical"
43
+ android : text =" MyStream"
44
+ android : textColor =" @color/colorTextPrimary"
45
+ android : textSize =" 18sp" />
46
+ </LinearLayout >
47
+
48
+ <ImageView
31
49
android : layout_width =" wrap_content"
32
50
android : layout_height =" wrap_content"
33
- android : layout_centerVertical =" true"
34
- android : layout_gravity =" center_vertical"
35
- android : layout_marginLeft =" 20dp"
36
- android : layout_marginStart =" 20dp"
37
- android : layout_toEndOf =" @+id/stream_dot"
38
- android : layout_toRightOf =" @+id/stream_dot"
51
+ android : layout_marginTop =" 7dp"
52
+ android : id =" @+id/stream_expand_arrow"
39
53
android : padding =" 5dp"
40
- android : text =" MyStream"
41
- android : textColor =" @color/colorTextPrimary"
42
- android : textSize =" 18sp" />
43
- </RelativeLayout >
54
+ android : layout_marginRight =" 5dp"
55
+ android : src =" @drawable/ic_keyboard_arrow_down_black_24dp" />
56
+ <!-- <LinearLayout-->
57
+ <!-- android:layout_width="wrap_content"-->
58
+ <!-- android:layout_height="wrap_content">-->
59
+
60
+ <!-- <TextView-->
61
+ <!-- android:id="@+id/badge_notification_1"-->
62
+ <!-- android:layout_width="wrap_content"-->
63
+ <!-- android:layout_height="wrap_content"-->
64
+ <!-- android:background="@drawable/badge_item_count"-->
65
+ <!-- android:text="27"-->
66
+ <!-- android:layout_marginTop="12dp"-->
67
+ <!-- android:textColor="#FFF"-->
68
+ <!-- android:textSize="14sp"-->
69
+ <!-- android:textStyle="bold" />-->
70
+ <!-- </LinearLayout>-->
71
+ </LinearLayout >
0 commit comments