Re-apply stretch effect in allapps

This commit is contained in:
MrSluffy
2024-01-28 07:24:26 +08:00
parent 7b3bb5bf3b
commit ee62c87746
2 changed files with 3 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ import androidx.recyclerview.widget.RecyclerView
import com.android.launcher3.Utilities
import com.android.launcher3.workprofile.PersonalWorkPagedView
class StretchRecyclerViewContainer @JvmOverloads constructor(
open class StretchRecyclerViewContainer @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null,
defStyleAttr: Int = 0,

View File

@@ -100,6 +100,7 @@ import java.util.stream.Stream;
import app.lawnchair.allapps.LawnchairAlphabeticalAppsList;
import app.lawnchair.font.FontManager;
import app.lawnchair.ui.StretchRecyclerViewContainer;
/**
* All apps container view with search support for use in a dragging activity.
@@ -107,7 +108,7 @@ import app.lawnchair.font.FontManager;
* @param <T> Type of context inflating all apps.
*/
public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
extends SpringRelativeLayout implements DragSource, Insettable,
extends StretchRecyclerViewContainer implements DragSource, Insettable,
OnDeviceProfileChangeListener, PersonalWorkSlidingTabStrip.OnActivePageChangedListener,
ScrimView.ScrimDrawingController {