From 4f61c93df8f3e85e4cb02ae7dd3f3a33da91b437 Mon Sep 17 00:00:00 2001 From: kadersutlu Date: Fri, 6 Sep 2024 21:27:58 +0300 Subject: [PATCH] updated ego fragment ui --- .../main/res/drawable/switch_background.xml | 5 +- app/src/main/res/layout/fragment_ego.xml | 284 ++++++++++++++---- app/src/main/res/values/dimens.xml | 4 + app/src/main/res/values/strings.xml | 2 + app/src/main/res/values/themes.xml | 6 + 5 files changed, 236 insertions(+), 65 deletions(-) create mode 100644 app/src/main/res/values/dimens.xml diff --git a/app/src/main/res/drawable/switch_background.xml b/app/src/main/res/drawable/switch_background.xml index ef2c61a..ca4f81d 100644 --- a/app/src/main/res/drawable/switch_background.xml +++ b/app/src/main/res/drawable/switch_background.xml @@ -1,5 +1,6 @@ - - + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_ego.xml b/app/src/main/res/layout/fragment_ego.xml index 7d4c766..74984ab 100644 --- a/app/src/main/res/layout/fragment_ego.xml +++ b/app/src/main/res/layout/fragment_ego.xml @@ -1,80 +1,238 @@ - - - - + + + + + + + + + + + + - - + + + + + + + + + + + + - - + + + + + + + + + + + + - - + + + + + + + + + + + + - - + + + + + + + + + + + + - - \ No newline at end of file + android:layout_marginBottom="16dp" + app:cardCornerRadius="10dp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/cardViewJoy"> + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml new file mode 100644 index 0000000..b205088 --- /dev/null +++ b/app/src/main/res/values/dimens.xml @@ -0,0 +1,4 @@ + + + 5dp + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 81a7ba3..4a1ef98 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -9,4 +9,6 @@ Joy Sadness "Max 4 switch added to bottomnavigationbar " + + \ No newline at end of file diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index bf50b1c..9079350 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -6,4 +6,10 @@ + \ No newline at end of file