From 074b608b5db5bd9588ba6a26f0d046745bd80e70 Mon Sep 17 00:00:00 2001 From: pokkst Date: Mon, 12 Sep 2022 03:02:07 -0500 Subject: [PATCH] update ui a little --- app/src/main/res/drawable/button_bg.xml | 13 +++++ app/src/main/res/drawable/edittext_bg.xml | 13 +++++ app/src/main/res/layout/fragment_home.xml | 11 +++-- .../main/res/layout/fragment_onboarding.xml | 4 ++ .../layout/receive_bottom_sheet_dialog.xml | 17 ++++++- .../res/layout/send_bottom_sheet_dialog.xml | 48 +++++++++++++++---- app/src/main/res/values-night-v23/styles.xml | 3 +- app/src/main/res/values-night/colors.xml | 1 + app/src/main/res/values-night/styles.xml | 3 +- app/src/main/res/values-v23/styles.xml | 3 +- app/src/main/res/values/colors.xml | 1 + app/src/main/res/values/strings.xml | 6 +++ app/src/main/res/values/styles.xml | 3 +- 13 files changed, 104 insertions(+), 22 deletions(-) create mode 100644 app/src/main/res/drawable/button_bg.xml create mode 100644 app/src/main/res/drawable/edittext_bg.xml diff --git a/app/src/main/res/drawable/button_bg.xml b/app/src/main/res/drawable/button_bg.xml new file mode 100644 index 0000000..00eb67d --- /dev/null +++ b/app/src/main/res/drawable/button_bg.xml @@ -0,0 +1,13 @@ + + + + + + diff --git a/app/src/main/res/drawable/edittext_bg.xml b/app/src/main/res/drawable/edittext_bg.xml new file mode 100644 index 0000000..5a0f345 --- /dev/null +++ b/app/src/main/res/drawable/edittext_bg.xml @@ -0,0 +1,13 @@ + + + + + + diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index dc21dc1..57c0d3b 100644 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -9,11 +9,14 @@ + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> diff --git a/app/src/main/res/layout/receive_bottom_sheet_dialog.xml b/app/src/main/res/layout/receive_bottom_sheet_dialog.xml index 3792938..b176492 100644 --- a/app/src/main/res/layout/receive_bottom_sheet_dialog.xml +++ b/app/src/main/res/layout/receive_bottom_sheet_dialog.xml @@ -12,14 +12,27 @@ - + diff --git a/app/src/main/res/layout/send_bottom_sheet_dialog.xml b/app/src/main/res/layout/send_bottom_sheet_dialog.xml index c480dc7..b2bcca6 100644 --- a/app/src/main/res/layout/send_bottom_sheet_dialog.xml +++ b/app/src/main/res/layout/send_bottom_sheet_dialog.xml @@ -13,33 +13,59 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> - + + + + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toEndOf="@id/address_edittext" + app:layout_constraintTop_toTopOf="@id/address_edittext" + tools:ignore="SpeakableTextPresentCheck" /> + app:layout_constraintBottom_toBottomOf="@id/amount_edittext" + tools:visibility="visible"/>