方向修正

This commit is contained in:
ろむねこ 2024-07-23 11:08:54 +09:00
parent 7ea5e143d6
commit 70db920060
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -127,6 +127,7 @@ public class HistoryItemListAdapter extends RecyclerView.Adapter<HistoryItemList
LinearLayout view = new LinearLayout(parent.getContext());
// 横全幅
view.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT));
view.setOrientation(LinearLayout.VERTICAL);
view.addView(LayoutInflater.from(parent.getContext()).inflate(R.layout.list_item_history_month_header, parent, false));
view.addView(LayoutInflater.from(parent.getContext()).inflate(R.layout.list_item_history_list_item, parent, false));
return new ViewHolder(view);