fix: Make folders in app drawer follow row height setting (#6713)
This commit is contained in:
1 parent
95269efb0b
commit
7aa385b7e3
1 file changed
+3
-3
@@ -264,9 +264,9 @@ public abstract class BaseAllAppsAdapter<T extends Context & ActivityContext> ex
|
||||
case VIEW_TYPE_FOLDER:
|
||||
// LC-Feature: Folder support in All Apps
|
||||
FrameLayout fl = new FrameLayout(mActivityContext);
|
||||
ViewGroup.MarginLayoutParams lp = new ViewGroup.MarginLayoutParams(
|
||||
ViewGroup.LayoutParams.MATCH_PARENT,
|
||||
ViewGroup.LayoutParams.WRAP_CONTENT);
|
||||
fl.setLayoutParams(new RecyclerView.LayoutParams(
|
||||
ViewGroup.LayoutParams.MATCH_PARENT,
|
||||
mActivityContext.getDeviceProfile().getAllAppsProfile().getCellHeightPx()));
|
||||
return new ViewHolder(fl);
|
||||
default:
|
||||
if (mAdapterProvider.isViewSupported(viewType)) {
|
||||
|
||||
Reference in new issue
Block a user