From 0d5a4ccc5d93e7c22b7ad4a59d3d07499cd1f8a9 Mon Sep 17 00:00:00 2001 From: Next Alone <12210746+NextAlone@users.noreply.github.com> Date: Tue, 12 Jul 2022 20:44:40 +0800 Subject: [PATCH] fix: header cell padding --- .../src/main/java/org/telegram/ui/Cells/HeaderCell.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TMessagesProj/src/main/java/org/telegram/ui/Cells/HeaderCell.java b/TMessagesProj/src/main/java/org/telegram/ui/Cells/HeaderCell.java index 2b3d372fc..44c1ef415 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/Cells/HeaderCell.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/Cells/HeaderCell.java @@ -67,6 +67,8 @@ public class HeaderCell extends LinearLayout { super(context); this.resourcesProvider = resourcesProvider; + setOrientation(LinearLayout.VERTICAL); + textView = new TextView(getContext()); textView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 15); textView.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));