diff options
Diffstat (limited to 'data/res/layout/notification_template_material_ambient.xml')
-rw-r--r-- | data/res/layout/notification_template_material_ambient.xml | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/data/res/layout/notification_template_material_ambient.xml b/data/res/layout/notification_template_material_ambient.xml index 19c4d235..fdc9f017 100644 --- a/data/res/layout/notification_template_material_ambient.xml +++ b/data/res/layout/notification_template_material_ambient.xml @@ -43,6 +43,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="top" + android:layout_weight="1" android:paddingStart="@dimen/notification_content_margin_start" android:paddingEnd="@dimen/notification_content_margin_end" android:clipToPadding="false" @@ -51,6 +52,7 @@ > <TextView android:id="@+id/title" android:textAppearance="@style/TextAppearance.Material.Notification.Title" + android:fontFamily="sans-serif" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="top|center_horizontal" @@ -75,20 +77,19 @@ android:maxLines="3" /> </LinearLayout> + <FrameLayout android:id="@+id/actions_container" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_gravity="bottom"> + <com.android.internal.widget.NotificationActionListLayout + android:id="@+id/actions" + android:layout_width="match_parent" + android:layout_height="@dimen/notification_action_list_height" + android:paddingEnd="4dp" + android:orientation="horizontal" + android:gravity="center" + android:visibility="gone" + /> + </FrameLayout> </LinearLayout> - <FrameLayout android:id="@+id/actions_container" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_gravity="bottom"> - <com.android.internal.widget.NotificationActionListLayout - android:id="@+id/actions" - android:layout_width="match_parent" - android:layout_height="@dimen/notification_action_list_height" - android:paddingEnd="4dp" - android:orientation="horizontal" - android:gravity="center" - android:visibility="gone" - android:background="@color/notification_action_list" - /> - </FrameLayout> </FrameLayout> |