commit | c722e7d814ba39d0ad116c75510abb7334c30bdc | [log] [tgz] |
---|---|---|
author | Federico Baron <fbaron@google.com> | Wed Oct 12 11:06:20 2022 -0700 |
committer | Federico Baron <fbaron@google.com> | Wed Oct 12 15:42:34 2022 -0700 |
tree | cb7a3881644efc6f47c3ba182e79b33557c8cad8 | |
parent | d7a7bfc304139a766e0879370db2340f092b117d [diff] |
Fix bug where pagination animation comes in from outside the folder when opening folder after swiping back home from another app (left to right swipe) Fix: 249814494 Test: Manual Change-Id: I03008dd24ddb9a0ba4c5a44878cbdf04c65de435
diff --git a/res/layout/user_folder_icon_normalized.xml b/res/layout/user_folder_icon_normalized.xml index 4dee6e7..39f93d9 100644 --- a/res/layout/user_folder_icon_normalized.xml +++ b/res/layout/user_folder_icon_normalized.xml
@@ -34,8 +34,7 @@ android:clipChildren="false" android:orientation="horizontal" android:paddingLeft="12dp" - android:paddingRight="12dp" - android:alpha="0"> + android:paddingRight="12dp"> <com.android.launcher3.folder.FolderNameEditText android:id="@+id/folder_name"
diff --git a/src/com/android/launcher3/folder/FolderAnimationManager.java b/src/com/android/launcher3/folder/FolderAnimationManager.java index 61ffd9d..5c47e04 100644 --- a/src/com/android/launcher3/folder/FolderAnimationManager.java +++ b/src/com/android/launcher3/folder/FolderAnimationManager.java
@@ -215,6 +215,7 @@ final int footerStartDelay; if (isLargeFolder()) { if (mIsOpening) { + mFolder.mFooter.setAlpha(0); footerAlphaDuration = LARGE_FOLDER_FOOTER_DURATION; footerStartDelay = mDuration - footerAlphaDuration; } else {