From cfb6d77163d4e62a8a1ee7a9d59b5dd2d8099047 Mon Sep 17 00:00:00 2001 From: Laurent Date: Fri, 17 May 2019 15:12:40 +0200 Subject: [PATCH] Add background for subscription header --- app/src/main/res/drawable/rectangle.xml | 6 +++ .../main/res/layout/fragment_subscription.xml | 51 ++++++++++++------- 2 files changed, 38 insertions(+), 19 deletions(-) create mode 100644 app/src/main/res/drawable/rectangle.xml diff --git a/app/src/main/res/drawable/rectangle.xml b/app/src/main/res/drawable/rectangle.xml new file mode 100644 index 00000000..d32283e5 --- /dev/null +++ b/app/src/main/res/drawable/rectangle.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_subscription.xml b/app/src/main/res/layout/fragment_subscription.xml index cfb103e1..7791cfb8 100644 --- a/app/src/main/res/layout/fragment_subscription.xml +++ b/app/src/main/res/layout/fragment_subscription.xml @@ -6,26 +6,39 @@ android:layout_height="match_parent" android:orientation="vertical"> - + + + + + app:layout_constraintTop_toBottomOf="@id/freetrial" + app:layout_constraintVertical_bias="0.4" /> + app:layout_constraintTop_toBottomOf="@id/pager" + app:layout_constraintVertical_bias="0.6" />