From e17e85f2643d3fafee262268a1a671a27ef9af42 Mon Sep 17 00:00:00 2001 From: Samiur Prapon Date: Thu, 15 Jul 2021 07:24:50 +0600 Subject: [PATCH] #7 Android: Registration page UI implemented --- android/app/src/main/AndroidManifest.xml | 7 +- .../res/drawable/ic_logo_title_sub_title.xml | 15 + android/app/src/main/res/font/montserrat.xml | 7 + .../app/src/main/res/font/montserrat_bold.xml | 7 + .../main/res/layout/activity_registration.xml | 374 +++++++++++------- .../app/src/main/res/values-night/themes.xml | 3 +- android/app/src/main/res/values/colors.xml | 5 + .../src/main/res/values/preloaded_fonts.xml | 2 + android/app/src/main/res/values/strings.xml | 6 +- android/app/src/main/res/values/themes.xml | 11 +- 10 files changed, 277 insertions(+), 160 deletions(-) create mode 100644 android/app/src/main/res/drawable/ic_logo_title_sub_title.xml create mode 100644 android/app/src/main/res/font/montserrat.xml create mode 100644 android/app/src/main/res/font/montserrat_bold.xml diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 8a4ad1df..06cb0a4c 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -22,14 +22,17 @@ + android:launchMode="singleTask"> + + \ No newline at end of file diff --git a/android/app/src/main/res/drawable/ic_logo_title_sub_title.xml b/android/app/src/main/res/drawable/ic_logo_title_sub_title.xml new file mode 100644 index 00000000..389663ca --- /dev/null +++ b/android/app/src/main/res/drawable/ic_logo_title_sub_title.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/android/app/src/main/res/font/montserrat.xml b/android/app/src/main/res/font/montserrat.xml new file mode 100644 index 00000000..0421f22c --- /dev/null +++ b/android/app/src/main/res/font/montserrat.xml @@ -0,0 +1,7 @@ + + + diff --git a/android/app/src/main/res/font/montserrat_bold.xml b/android/app/src/main/res/font/montserrat_bold.xml new file mode 100644 index 00000000..afbba1bf --- /dev/null +++ b/android/app/src/main/res/font/montserrat_bold.xml @@ -0,0 +1,7 @@ + + + diff --git a/android/app/src/main/res/layout/activity_registration.xml b/android/app/src/main/res/layout/activity_registration.xml index fff6fc33..18a2f168 100644 --- a/android/app/src/main/res/layout/activity_registration.xml +++ b/android/app/src/main/res/layout/activity_registration.xml @@ -5,166 +5,238 @@ ~ --> - + - - - - - - - - - + + - - - - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - \ No newline at end of file + android:textColor="@color/white" + android:textSize="18sp" + app:layout_constraintEnd_toEndOf="@+id/til_confirm_password" + app:layout_constraintHorizontal_bias="1.0" + app:layout_constraintStart_toStartOf="@+id/til_confirm_password" + app:layout_constraintTop_toBottomOf="@+id/radioGroup" /> + + + + + + + + + + + \ No newline at end of file diff --git a/android/app/src/main/res/values-night/themes.xml b/android/app/src/main/res/values-night/themes.xml index 32b36e76..26925de7 100644 --- a/android/app/src/main/res/values-night/themes.xml +++ b/android/app/src/main/res/values-night/themes.xml @@ -17,7 +17,8 @@ @color/teal_200 @color/black - ?attr/colorPrimaryVariant + @color/black + false \ No newline at end of file diff --git a/android/app/src/main/res/values/colors.xml b/android/app/src/main/res/values/colors.xml index ab3436ee..01146b07 100644 --- a/android/app/src/main/res/values/colors.xml +++ b/android/app/src/main/res/values/colors.xml @@ -18,6 +18,11 @@ #FDE69E #91B1E7 + #F37172 + #F37179 + #F37172 + #2F281E + #636364 diff --git a/android/app/src/main/res/values/preloaded_fonts.xml b/android/app/src/main/res/values/preloaded_fonts.xml index b182313d..e09249dd 100644 --- a/android/app/src/main/res/values/preloaded_fonts.xml +++ b/android/app/src/main/res/values/preloaded_fonts.xml @@ -8,6 +8,8 @@ + @font/montserrat + @font/montserrat_bold @font/roboto diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml index 1922c08d..cb016287 100644 --- a/android/app/src/main/res/values/strings.xml +++ b/android/app/src/main/res/values/strings.xml @@ -11,8 +11,12 @@ Email Password Re-type password - You are a - + I am - Student Teacher + Create an Account + Register + Already a member? + Sign in \ No newline at end of file diff --git a/android/app/src/main/res/values/themes.xml b/android/app/src/main/res/values/themes.xml index e9e918f4..e4efeb09 100644 --- a/android/app/src/main/res/values/themes.xml +++ b/android/app/src/main/res/values/themes.xml @@ -9,15 +9,16 @@ \ No newline at end of file