diff options
3 files changed, 12 insertions, 4 deletions
diff --git a/core/res/res/layout/notification_template_material_big_picture.xml b/core/res/res/layout/notification_template_material_big_picture.xml index 83c0fec004b6..e94e646fa581 100644 --- a/core/res/res/layout/notification_template_material_big_picture.xml +++ b/core/res/res/layout/notification_template_material_big_picture.xml @@ -40,7 +40,10 @@ android:layout_marginEnd="@dimen/notification_content_margin_end" android:orientation="vertical"> <include layout="@layout/notification_template_part_line1"/> - <include layout="@layout/notification_template_progress"/> + <include layout="@layout/notification_template_progress" + android:layout_width="match_parent" + android:layout_height="@dimen/notification_progress_bar_height" + android:layout_marginTop="@dimen/notification_progress_margin_top"/> <include layout="@layout/notification_template_text"/> </LinearLayout> <ImageView diff --git a/core/res/res/layout/notification_template_material_big_text.xml b/core/res/res/layout/notification_template_material_big_text.xml index 0cfe6898f111..3c87f92639bb 100644 --- a/core/res/res/layout/notification_template_material_big_text.xml +++ b/core/res/res/layout/notification_template_material_big_text.xml @@ -45,7 +45,11 @@ android:orientation="vertical" > <include layout="@layout/notification_template_part_line1" /> - <include layout="@layout/notification_template_progress" /> + <include layout="@layout/notification_template_progress" + android:layout_width="match_parent" + android:layout_height="@dimen/notification_progress_bar_height" + android:layout_marginTop="@dimen/notification_progress_margin_top" + android:layout_marginBottom="6dp"/> <com.android.internal.widget.ImageFloatingTextView android:id="@+id/big_text" android:layout_width="match_parent" android:layout_height="wrap_content" diff --git a/core/res/res/layout/notification_template_material_inbox.xml b/core/res/res/layout/notification_template_material_inbox.xml index 7820e39e777c..e4c91a458220 100644 --- a/core/res/res/layout/notification_template_material_inbox.xml +++ b/core/res/res/layout/notification_template_material_inbox.xml @@ -48,8 +48,9 @@ android:layout_height="wrap_content" /> <include layout="@layout/notification_template_progress" android:layout_width="match_parent" - android:layout_height="15dp" - android:layout_marginTop="4dp"/> + android:layout_height="@dimen/notification_progress_bar_height" + android:layout_marginTop="@dimen/notification_progress_margin_top" + android:layout_marginBottom="2dp"/> <TextView android:id="@+id/inbox_text0" android:textAppearance="@style/TextAppearance.Material.Notification" android:layout_width="match_parent" |