diff --git a/app/src/main/java/com/ik/mboxlauncher/ui/Launcher.java b/app/src/main/java/com/ik/mboxlauncher/ui/Launcher.java index 34694ef..842e9f8 100644 --- a/app/src/main/java/com/ik/mboxlauncher/ui/Launcher.java +++ b/app/src/main/java/com/ik/mboxlauncher/ui/Launcher.java @@ -880,7 +880,7 @@ public boolean onGenericMotionEvent(MotionEvent event) { } }); - translateAnimation.setDuration(360); + translateAnimation.setDuration(380); translateAnimation.setFillAfter(true); content_view.startAnimation(translateAnimation); @@ -897,7 +897,7 @@ public boolean onGenericMotionEvent(MotionEvent event) { cuttentModel = MODEL_NORMAL; LogUtils.loge("coustom_view.getHeight():"+coustom_view.getLayoutParams().height); TranslateAnimation translateAnimation = new TranslateAnimation(0.0f, 0.0f,(float)(0 - coustom_view.getLayoutParams().height - gv_shortcut.getHeight()),0.0f); - translateAnimation.setDuration(360); + translateAnimation.setDuration(380); translateAnimation.setAnimationListener(new Animation.AnimationListener() { @Override public void onAnimationStart(Animation animation) { diff --git a/app/src/main/java/com/ik/mboxlauncher/view/TvRecyclerView.java b/app/src/main/java/com/ik/mboxlauncher/view/TvRecyclerView.java index b1c4be9..1b2e250 100644 --- a/app/src/main/java/com/ik/mboxlauncher/view/TvRecyclerView.java +++ b/app/src/main/java/com/ik/mboxlauncher/view/TvRecyclerView.java @@ -18,6 +18,7 @@ import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import androidx.recyclerview.widget.StaggeredGridLayoutManager; +import com.android.util.LogUtils; import com.ik.mboxlauncher.R; @@ -125,6 +126,7 @@ public class TvRecyclerView extends RecyclerView { // } if(!gainFocus){ hasResetFocus=false; + LogUtils.loge("TvRecyclerView gainFocus="+gainFocus); } }