Skip to content

Commit c9d2062

Browse files
author
Chris Bellew
committed
Fixed display of dividers in big notifications.
1 parent 657d5bf commit c9d2062

File tree

2 files changed

+22
-20
lines changed

2 files changed

+22
-20
lines changed

mobile/src/main/res/layout/now_playing_notification_big.xml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
android:orientation="vertical"
1616
android:layout_width="fill_parent"
1717
android:layout_height="@dimen/notification_large_icon_height"
18-
android:layout_marginLeft="@dimen/notification_large_icon_width">
18+
android:layout_marginLeft="@dimen/notification_large_icon_width"
19+
>
1920

2021
<LinearLayout
2122
android:layout_width="match_parent"
@@ -28,7 +29,8 @@
2829
android:paddingBottom="2dp"
2930
android:gravity="top"
3031
android:paddingLeft="8dp"
31-
android:paddingTop="2dp">
32+
android:paddingTop="2dp"
33+
>
3234

3335
<RelativeLayout
3436
android:layout_width="fill_parent"
@@ -77,8 +79,9 @@
7779
<FrameLayout
7880
android:layout_width="fill_parent"
7981
android:layout_height="1dp"
80-
android:background="?android:attr/dividerVertical"
81-
>
82+
android:background="@color/gray"
83+
android:layout_marginLeft="5dp"
84+
android:layout_marginRight="5dp">
8285
</FrameLayout>
8386

8487
<LinearLayout
@@ -99,10 +102,9 @@
99102
<FrameLayout
100103
android:layout_width="1dp"
101104
android:layout_height="fill_parent"
102-
android:layout_marginTop="4dp"
103-
android:layout_marginBottom="4dp"
104-
android:background="?android:attr/dividerHorizontal">
105-
105+
android:background="@color/gray"
106+
android:layout_marginTop="5dp"
107+
android:layout_marginBottom="5dp">
106108
</FrameLayout>
107109

108110
<RelativeLayout
@@ -133,9 +135,9 @@
133135
<FrameLayout
134136
android:layout_width="1dp"
135137
android:layout_height="fill_parent"
136-
android:layout_marginTop="4dp"
137-
android:layout_marginBottom="4dp"
138-
android:background="?android:attr/dividerHorizontal">
138+
android:background="@color/gray"
139+
android:layout_marginTop="5dp"
140+
android:layout_marginBottom="5dp">
139141
</FrameLayout>
140142

141143
<ImageButton

mobile/src/main/res/layout/now_playing_notification_big_music.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@
7373
<FrameLayout
7474
android:layout_width="fill_parent"
7575
android:layout_height="1dp"
76-
android:background="?android:attr/dividerVertical"
77-
android:layout_marginLeft="4dp"
78-
android:layout_marginRight="4dp">
76+
android:background="@color/gray"
77+
android:layout_marginLeft="5dp"
78+
android:layout_marginRight="5dp">
7979
</FrameLayout>
8080

8181
<LinearLayout
@@ -96,9 +96,9 @@
9696
<FrameLayout
9797
android:layout_width="1dp"
9898
android:layout_height="fill_parent"
99-
android:layout_marginTop="4dp"
100-
android:layout_marginBottom="4dp"
101-
android:background="?android:attr/dividerHorizontal">
99+
android:layout_marginTop="5dp"
100+
android:layout_marginBottom="5dp"
101+
android:background="@color/gray">
102102
</FrameLayout>
103103

104104
<RelativeLayout
@@ -129,9 +129,9 @@
129129
<FrameLayout
130130
android:layout_width="1dp"
131131
android:layout_height="fill_parent"
132-
android:layout_marginTop="4dp"
133-
android:layout_marginBottom="4dp"
134-
android:background="?android:attr/dividerHorizontal">
132+
android:layout_marginTop="5dp"
133+
android:layout_marginBottom="5dp"
134+
android:background="@color/gray">
135135

136136
</FrameLayout>
137137

0 commit comments

Comments
 (0)