From 2ad64d14148849542c9ce50830f0a7c59040869a Mon Sep 17 00:00:00 2001 From: Brayan Oliveira <69634269+brayandso@users.noreply.github.com> Date: Sun, 22 Dec 2024 08:51:56 -0300 Subject: [PATCH] refactor: replace ConstraintLayouts of template previewer same rationale of the previous commit --- .../src/main/res/layout/template_previewer.xml | 17 ++++++++--------- .../res/layout/template_previewer_container.xml | 10 ++++++---- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/AnkiDroid/src/main/res/layout/template_previewer.xml b/AnkiDroid/src/main/res/layout/template_previewer.xml index 2d7ca98251b2..35b3b0c4faaf 100644 --- a/AnkiDroid/src/main/res/layout/template_previewer.xml +++ b/AnkiDroid/src/main/res/layout/template_previewer.xml @@ -1,18 +1,20 @@ - + android:layout_height="match_parent" + android:orientation="vertical"> - \ No newline at end of file + \ No newline at end of file diff --git a/AnkiDroid/src/main/res/layout/template_previewer_container.xml b/AnkiDroid/src/main/res/layout/template_previewer_container.xml index d05c79c51059..c52d81e8684a 100644 --- a/AnkiDroid/src/main/res/layout/template_previewer_container.xml +++ b/AnkiDroid/src/main/res/layout/template_previewer_container.xml @@ -9,9 +9,10 @@ android:background="?attr/alternativeBackgroundColor" tools:context=".previewer.TemplatePreviewerPage"> - + android:layout_height="match_parent" + android:orientation="vertical"> - + app:layout_constraintBottom_toBottomOf="parent" + android:layout_weight="1"/> + \ No newline at end of file