diff options
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | app/src/main/res/layout/home_page.xml | 15 |
2 files changed, 13 insertions, 10 deletions
@@ -54,11 +54,3 @@ I used the MVC (Model, View, Controller) architecture. ## Singletons Usage of singletons. Used to call APIs. - -## TO-DO -+ Finishing MVC -+ Adding Singleton -+ Clicking on an image opens it full size -+ Firebase -+ Bottom navigation -+ ... diff --git a/app/src/main/res/layout/home_page.xml b/app/src/main/res/layout/home_page.xml index 1c547d6..d9677a9 100644 --- a/app/src/main/res/layout/home_page.xml +++ b/app/src/main/res/layout/home_page.xml @@ -7,6 +7,17 @@ android:background="@color/very_dark_purple" tools:context=".presentation.view.HomePage"> + <ImageView + android:id="@+id/logo" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:contentDescription="@string/app_name" + android:src="@mipmap/ic_launcher" + app:layout_constraintBottom_toTopOf="@id/tv_title" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + <TextView android:id="@+id/tv_title" android:layout_width="match_parent" @@ -17,8 +28,8 @@ android:textAlignment="center" android:textColor="@color/strong_pink" android:textSize="40sp" - app:layout_constraintBottom_toBottomOf="@id/button_top_manga" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintBottom_toTopOf="@id/button_top_manga" + app:layout_constraintTop_toTopOf="@id/logo" /> <Button android:id="@+id/button_top_manga" |