Fix recycler view item width
This commit is contained in:
parent
e2a0501366
commit
6dc5f77ab3
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ public class HorizontalSelectionAdapter extends RecyclerView.Adapter<HorizontalS
|
|||
AndroidUtils.setBackground(holder.button, buttonBackground);
|
||||
}
|
||||
textView.setText(capitalizeFirstLetter(item));
|
||||
textView.requestLayout();
|
||||
holder.button.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
|
Loading…
Reference in a new issue