Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02632bcc authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Not ignoring insets for Clear-all button" into ub-launcher3-edmonton

parents bb4102fd 4473658c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>

<TextView
    xmlns:launcher="http://schemas.android.com/apk/res-auto"
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/clear_all_button"
    android:layout_width="wrap_content"
@@ -11,6 +10,5 @@
    android:text="@string/recents_clear_all"
    android:textColor="?attr/workspaceTextColor"
    android:background="?android:attr/selectableItemBackground"
    launcher:layout_ignoreInsets="true"
    android:textSize="14sp"
/>
 No newline at end of file
+2 −1
Original line number Diff line number Diff line
@@ -56,7 +56,8 @@ public class RecentsViewContainer extends InsettableFrameLayout {
                (mClearAllButton.getMeasuredWidth() - getResources().getDimension(
                        R.dimen.clear_all_container_width)) / 2);
        mClearAllButton.setTranslationY(
                mTempRect.top + (mTempRect.height() - mClearAllButton.getMeasuredHeight()) / 2);
                mTempRect.top + (mTempRect.height() - mClearAllButton.getMeasuredHeight()) / 2
                        - mClearAllButton.getTop());
    }

    @Override