Merge "Fixed the progress bar positioning when expanded" into oc-mr1-dev

This commit is contained in:
Selim Cinek
2017-08-24 23:22:53 +00:00
committed by Android (Google) Code Review
3 changed files with 12 additions and 4 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -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"