Loading core/java/com/android/internal/widget/MediaNotificationView.java +3 −0 Original line number Diff line number Diff line Loading @@ -126,6 +126,9 @@ public class MediaNotificationView extends FrameLayout { protected void onLayout(boolean changed, int left, int top, int right, int bottom) { super.onLayout(changed, left, top, right, bottom); if (mImagePushIn > 0) { if (this.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) { mImagePushIn *= -1; } mRightIcon.layout(mRightIcon.getLeft() + mImagePushIn, mRightIcon.getTop(), mRightIcon.getRight() + mImagePushIn, mRightIcon.getBottom()); } Loading core/res/res/layout/notification_material_media_seekbar.xml +2 −2 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_marginStart="@dimen/notification_content_margin_start" android:gravity="left" android:gravity="start" /> <TextView android:id="@+id/notification_media_total_time" Loading @@ -59,7 +59,7 @@ android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_marginEnd="@dimen/notification_content_margin_end" android:gravity="right" android:gravity="end" /> </FrameLayout> </LinearLayout> No newline at end of file Loading
core/java/com/android/internal/widget/MediaNotificationView.java +3 −0 Original line number Diff line number Diff line Loading @@ -126,6 +126,9 @@ public class MediaNotificationView extends FrameLayout { protected void onLayout(boolean changed, int left, int top, int right, int bottom) { super.onLayout(changed, left, top, right, bottom); if (mImagePushIn > 0) { if (this.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) { mImagePushIn *= -1; } mRightIcon.layout(mRightIcon.getLeft() + mImagePushIn, mRightIcon.getTop(), mRightIcon.getRight() + mImagePushIn, mRightIcon.getBottom()); } Loading
core/res/res/layout/notification_material_media_seekbar.xml +2 −2 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_marginStart="@dimen/notification_content_margin_start" android:gravity="left" android:gravity="start" /> <TextView android:id="@+id/notification_media_total_time" Loading @@ -59,7 +59,7 @@ android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_marginEnd="@dimen/notification_content_margin_end" android:gravity="right" android:gravity="end" /> </FrameLayout> </LinearLayout> No newline at end of file