diff options
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/notification.xml | 24 | ||||
-rw-r--r-- | res/layout/notification_main.xml | 2 |
2 files changed, 21 insertions, 5 deletions
diff --git a/res/layout/notification.xml b/res/layout/notification.xml index 085dfa93c..4a02aa169 100644 --- a/res/layout/notification.xml +++ b/res/layout/notification.xml @@ -28,6 +28,13 @@ android:orientation="vertical" android:clipChildren="false"> + <View + android:id="@+id/gutter_top" + android:layout_width="match_parent" + android:layout_height="4dp" + android:theme="@style/PopupGutter" + android:visibility="gone" /> + <FrameLayout android:id="@+id/header" android:layout_width="match_parent" @@ -35,22 +42,23 @@ android:paddingStart="@dimen/notification_padding_start" android:paddingEnd="@dimen/notification_padding_end" android:background="?attr/popupColorPrimary" - android:elevation="@dimen/notification_elevation"> + android:elevation="@dimen/notification_elevation" + android:layout_below="@id/gutter_top" > <TextView android:id="@+id/notification_text" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="start" - android:gravity="center_vertical" + android:gravity="bottom" android:text="@string/notifications_header" android:textSize="@dimen/notification_header_text_size" - android:textColor="?android:attr/textColorSecondary" /> + android:textColor="?android:attr/textColorPrimary" /> <TextView android:id="@+id/notification_count" android:layout_width="@dimen/notification_icon_size" android:layout_height="match_parent" android:layout_gravity="end" - android:gravity="center" + android:gravity="bottom|center_horizontal" android:textSize="@dimen/notification_header_count_text_size" android:fontFamily="sans-serif-medium" android:textColor="?android:attr/textColorPrimary" /> @@ -76,6 +84,14 @@ android:layout_height="@dimen/notification_footer_height" android:layout_below="@id/divider" /> + <View + android:id="@+id/gutter_bottom" + android:layout_width="match_parent" + android:layout_height="4dp" + android:theme="@style/PopupGutter" + android:visibility="gone" + android:layout_below="@id/footer" /> + </RelativeLayout> </com.android.launcher3.notification.NotificationItemView> diff --git a/res/layout/notification_main.xml b/res/layout/notification_main.xml index 7a8cf6d5c..f681e8b06 100644 --- a/res/layout/notification_main.xml +++ b/res/layout/notification_main.xml @@ -38,7 +38,7 @@ android:layout_height="wrap_content" android:textAlignment="viewStart" android:fontFamily="sans-serif" - android:textSize="@dimen/notification_main_text_size" + android:textSize="@dimen/notification_main_title_size" android:textColor="?android:attr/textColorPrimary" android:lines="1" android:ellipsize="end" /> |