fix: header cell padding

This commit is contained in:
Next Alone 2022-07-12 20:44:40 +08:00
parent 56f5dcdf92
commit 0d5a4ccc5d
No known key found for this signature in database
GPG Key ID: DBA7B0AEF8C1CD2C

View File

@ -67,6 +67,8 @@ public class HeaderCell extends LinearLayout {
super(context); super(context);
this.resourcesProvider = resourcesProvider; this.resourcesProvider = resourcesProvider;
setOrientation(LinearLayout.VERTICAL);
textView = new TextView(getContext()); textView = new TextView(getContext());
textView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 15); textView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 15);
textView.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf")); textView.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));