From 6ec72ef94591305ec5a7a5ccfebd64bef357c80f Mon Sep 17 00:00:00 2001 From: TobiGr Date: Fri, 28 May 2021 12:43:15 +0200 Subject: [PATCH] Fix empty fragment text not centered when text longer than one line --- app/src/main/res/layout/main_bg.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/layout/main_bg.xml b/app/src/main/res/layout/main_bg.xml index 996ecdde4..659784e45 100644 --- a/app/src/main/res/layout/main_bg.xml +++ b/app/src/main/res/layout/main_bg.xml @@ -5,6 +5,8 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" + android:paddingStart="@dimen/activity_horizontal_margin" + android:paddingEnd="@dimen/activity_horizontal_margin" tools:context=".fragments.detail.VideoDetailFragment">