diff --git a/res/layout/notification_content.xml b/res/layout/notification_content.xml index 91897e9e75..0763d48b79 100644 --- a/res/layout/notification_content.xml +++ b/res/layout/notification_content.xml @@ -17,7 +17,7 @@ @@ -25,14 +25,14 @@ android:id="@+id/header" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingEnd="@dimen/notification_padding" - android:paddingStart="@dimen/notification_padding"> + android:paddingEnd="@dimen/notification_padding_end" + android:paddingTop="@dimen/notification_padding_header_top" + android:paddingStart="@dimen/notification_header_padding_start"> + android:layout_gravity="start|center_vertical" + android:layout_marginStart="@dimen/notification_icon_padding_start"/> \ No newline at end of file diff --git a/res/layout/system_shortcut_icon_only.xml b/res/layout/system_shortcut_icon_only.xml index 5a81f70bc0..92522aaaf2 100644 --- a/res/layout/system_shortcut_icon_only.xml +++ b/res/layout/system_shortcut_icon_only.xml @@ -18,8 +18,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="@dimen/system_shortcut_header_icon_touch_size" android:layout_height="@dimen/system_shortcut_header_icon_touch_size" - android:background="?android:attr/selectableItemBackgroundBorderless" android:tint="?attr/iconOnlyShortcutColor" android:tintMode="src_in" android:padding="@dimen/system_shortcut_header_icon_padding" - android:theme="@style/PopupItem" /> + android:theme="@style/PopupItemIconOnly" /> diff --git a/res/layout/system_shortcut_icon_only_end.xml b/res/layout/system_shortcut_icon_only_end.xml new file mode 100644 index 0000000000..b5b5f02c22 --- /dev/null +++ b/res/layout/system_shortcut_icon_only_end.xml @@ -0,0 +1,26 @@ + + + + \ No newline at end of file diff --git a/res/layout/system_shortcut_icon_only_start.xml b/res/layout/system_shortcut_icon_only_start.xml new file mode 100644 index 0000000000..33a6b17dcb --- /dev/null +++ b/res/layout/system_shortcut_icon_only_start.xml @@ -0,0 +1,26 @@ + + + + diff --git a/res/values/dimens.xml b/res/values/dimens.xml index aa84d2ba92..21f614ffc4 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -281,7 +281,7 @@ 2dp 2dp 216dp - 56dp + 52dp 12dp 6dp @@ -290,10 +290,10 @@ 2dp 100dp 4dp - 12dp + 16dp 16dp 10dp - 16dp + 14dp 4dp 12dp 10dp @@ -301,32 +301,40 @@ 26dp 2dp - - 52dp + + 54dp 20dp 16dp - 56dp + 52dp 48dp 14dp + + 16dp + + 12dp + 8dp + 104dp 8dp 8dp - 16dp - 18dp + 16dp + 12dp + 12dp + 16dp + 14dp 14sp 12sp 14sp 14sp 24dp 32dp - - 12dp + 10dp - 56dp + 54dp 18dp diff --git a/res/values/styles.xml b/res/values/styles.xml index 65d215fe11..5dc4f0afa1 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -249,6 +249,11 @@ ?attr/popupColorTertiary + +