From f1364d4f9387b9c621b08a97afe9dfa42f2053e9 Mon Sep 17 00:00:00 2001 From: Kamila Babayeva Date: Sat, 7 May 2022 16:47:46 +0200 Subject: [PATCH 01/83] bottom_navigation.xml: add two fragments into navigation --- app/src/main/res/navigation/bottom_navigation.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app/src/main/res/navigation/bottom_navigation.xml diff --git a/app/src/main/res/navigation/bottom_navigation.xml b/app/src/main/res/navigation/bottom_navigation.xml new file mode 100644 index 000000000..62a8d82a8 --- /dev/null +++ b/app/src/main/res/navigation/bottom_navigation.xml @@ -0,0 +1,11 @@ + + + + + + \ No newline at end of file From cb7e78fa15593e141df50e6a7c741c994d516a4e Mon Sep 17 00:00:00 2001 From: Kamila Babayeva Date: Sat, 7 May 2022 16:48:03 +0200 Subject: [PATCH 02/83] bottom_menu.xml: add two buttons --- app/src/main/res/menu/bottom_menu.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app/src/main/res/menu/bottom_menu.xml diff --git a/app/src/main/res/menu/bottom_menu.xml b/app/src/main/res/menu/bottom_menu.xml new file mode 100644 index 000000000..10c53ae1c --- /dev/null +++ b/app/src/main/res/menu/bottom_menu.xml @@ -0,0 +1,18 @@ + + + + + + + + + + From 9f3e27d9540d49ce4500258ab85e1057bc252012 Mon Sep 17 00:00:00 2001 From: Kamila Babayeva Date: Sat, 7 May 2022 16:48:20 +0200 Subject: [PATCH 03/83] game_setting.xml: remove onClick proceedGame --- app/src/main/res/layout/game_setting.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/res/layout/game_setting.xml b/app/src/main/res/layout/game_setting.xml index e86f330e2..3b5872973 100644 --- a/app/src/main/res/layout/game_setting.xml +++ b/app/src/main/res/layout/game_setting.xml @@ -76,7 +76,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="29dp" - android:onClick="proceedGame" android:text="@string/proceed" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" From e1ec295ae1c0095f342489c58b7a0d4ac0daf2e4 Mon Sep 17 00:00:00 2001 From: Kamila Babayeva Date: Sat, 7 May 2022 16:48:33 +0200 Subject: [PATCH 04/83] main_activity.xml: contains two fragments --- app/src/main/res/layout/main_activity.xml | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 app/src/main/res/layout/main_activity.xml diff --git a/app/src/main/res/layout/main_activity.xml b/app/src/main/res/layout/main_activity.xml new file mode 100644 index 000000000..f84766c9e --- /dev/null +++ b/app/src/main/res/layout/main_activity.xml @@ -0,0 +1,29 @@ + + + + + + + + + \ No newline at end of file From 9a7d5e3ddd907753519210f8df5a1c926e615333 Mon Sep 17 00:00:00 2001 From: Kamila Babayeva Date: Sat, 7 May 2022 16:48:50 +0200 Subject: [PATCH 05/83] game_genre.xml: remove onlick functions --- app/src/main/res/layout/game_genre.xml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/src/main/res/layout/game_genre.xml b/app/src/main/res/layout/game_genre.xml index f3f828793..b2923cd7f 100644 --- a/app/src/main/res/layout/game_genre.xml +++ b/app/src/main/res/layout/game_genre.xml @@ -15,7 +15,6 @@ android:id="@+id/billieEilishButton" android:layout_width="170dp" android:layout_height="130dp" - android:onClick="chooseGenre" android:background="@drawable/rounded_button" android:text="@string/billie_eilish" app:layout_constraintBottom_toBottomOf="parent" @@ -30,7 +29,6 @@ android:id="@+id/imagDragonsButton" android:layout_width="170dp" android:layout_height="130dp" - android:onClick="chooseGenre" android:background="@drawable/rounded_button" android:text="@string/imagine_dragons" app:layout_constraintBottom_toBottomOf="parent" @@ -47,7 +45,6 @@ android:layout_width="170dp" android:layout_height="130dp" android:background="@drawable/rounded_button" - android:onClick="chooseGenre" android:text="@string/bts" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" @@ -62,7 +59,6 @@ android:id="@+id/rockButton" android:layout_width="170dp" android:layout_height="130dp" - android:onClick="chooseGenre" android:background="@drawable/rounded_button" android:text="@string/r_o_c_k" app:layout_constraintBottom_toBottomOf="parent" @@ -77,7 +73,6 @@ android:id="@+id/kpopButton" android:layout_width="170dp" android:layout_height="130dp" - android:onClick="chooseGenre" android:background="@drawable/rounded_button" android:text="@string/k_p_o_p" app:layout_constraintBottom_toBottomOf="parent" @@ -93,7 +88,6 @@ android:layout_width="170dp" android:layout_height="130dp" android:background="@drawable/rounded_button" - android:onClick="chooseGenre" android:text="@string/t_o_p_t_r_a_c_k_s" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" From a7b74da6be9665cc65249889d8f921a4b83657bb Mon Sep 17 00:00:00 2001 From: Kamila Babayeva Date: Sat, 7 May 2022 16:49:26 +0200 Subject: [PATCH 06/83] fragment_game_setup_screen: rename game setup screen --- .../res/layout/fragment_game_setup_screen.xml | 207 ++++++++++++++++++ 1 file changed, 207 insertions(+) create mode 100644 app/src/main/res/layout/fragment_game_setup_screen.xml diff --git a/app/src/main/res/layout/fragment_game_setup_screen.xml b/app/src/main/res/layout/fragment_game_setup_screen.xml new file mode 100644 index 000000000..e390c0698 --- /dev/null +++ b/app/src/main/res/layout/fragment_game_setup_screen.xml @@ -0,0 +1,207 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 6595df20c8294ee254e8d1c35614c807907bc4ed Mon Sep 17 00:00:00 2001 From: Kamila Babayeva Date: Sat, 7 May 2022 16:49:45 +0200 Subject: [PATCH 07/83] activity_welcome_screen: remove unused buttons --- .../res/layout/activity_welcome_screen.xml | 49 +------------------ 1 file changed, 1 insertion(+), 48 deletions(-) diff --git a/app/src/main/res/layout/activity_welcome_screen.xml b/app/src/main/res/layout/activity_welcome_screen.xml index c796ef986..bf8c5019a 100644 --- a/app/src/main/res/layout/activity_welcome_screen.xml +++ b/app/src/main/res/layout/activity_welcome_screen.xml @@ -1,11 +1,9 @@ + android:background="@color/floral_white"> -