change item width to match_parent

This commit is contained in:
Vologhat
2023-01-01 15:23:25 +03:00
parent 69ea193771
commit c3a08ea7a8
@@ -81,6 +81,7 @@ public class CategorizedAdapter< T > extends RecyclerView.Adapter< CategorizedAd
FrameLayout container = new FrameLayout(getGlobalContext());
container.addView(newCategoryTitle(), LayoutUtils.createFrame(-1, -2));
container.addView(newMovingItem(), LayoutUtils.createFrame(-1, -2));
container.setLayoutParams(LayoutUtils.createFrame(-1, -2));
return new CategorizedViewHolder(container);
}