将inflate(R.layout.shop_item,null)改为inflate(R.layout.check_item, parent,false),即可解决Recyclerview宽度不能铺满问题 [java] view plain copy @Override public MyHolder onCreateViewHolder(ViewGroup parent, int viewType) { View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.shop_item,null); 解决条目显示不全 MyHolder holder = new MyHolder(view); return holder; }