diff --git a/core/res/res/layout/notification_material_action.xml b/core/res/res/layout/notification_material_action.xml index c024dbed56c0d..da515d788ce51 100644 --- a/core/res/res/layout/notification_material_action.xml +++ b/core/res/res/layout/notification_material_action.xml @@ -19,7 +19,8 @@ style="@android:style/NotificationAction" android:id="@+id/action0" android:layout_width="wrap_content" - android:layout_height="48dp" + android:layout_height="wrap_content" + android:minHeight="48dp" android:layout_gravity="center" android:gravity="start|center_vertical" android:layout_marginStart="4dp" diff --git a/core/res/res/layout/notification_material_action_list.xml b/core/res/res/layout/notification_material_action_list.xml index 7aef82a8aa3a6..057270aa35df3 100644 --- a/core/res/res/layout/notification_material_action_list.xml +++ b/core/res/res/layout/notification_material_action_list.xml @@ -36,7 +36,8 @@ android:id="@+id/actions" android:layout_width="0dp" android:layout_weight="1" - android:layout_height="@dimen/notification_action_list_height" + android:layout_height="wrap_content" + android:minHeight="@dimen/notification_action_list_height" android:orientation="horizontal" android:gravity="center_vertical" android:visibility="gone"