From 9a19ce9ca44c09fac6522cb8e62deab4d595c7ee Mon Sep 17 00:00:00 2001 From: Damian Czupryn <60961958+Daxxxis@users.noreply.github.com> Date: Mon, 19 Apr 2021 18:09:14 +0200 Subject: [PATCH] Fix Homework dialog buttons layout (#1297) --- app/src/main/res/layout/dialog_homework.xml | 11 +++++++---- app/src/main/res/layout/dialog_mobile_device.xml | 2 +- .../ui/modules/grade/GradeAverageProviderTest.kt | 1 + 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout/dialog_homework.xml b/app/src/main/res/layout/dialog_homework.xml index b5687c0a..69c02d5a 100644 --- a/app/src/main/res/layout/dialog_homework.xml +++ b/app/src/main/res/layout/dialog_homework.xml @@ -19,12 +19,13 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/ic_all_divider" - android:paddingHorizontal="10dp" - android:paddingVertical="5dp"> + android:gravity="end" + android:minHeight="52dp" + android:orientation="horizontal">