aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-05-14 14:25:27 +0200
committerClyhtsuriva <aimeric@adjutor.xyz>2021-05-14 14:25:27 +0200
commite3104c145727c10ff80cad0fe1e916a0a45239eb (patch)
treec9b4af4deb4acbac4c394e48d3df7874120d24a1
parent315c8932950c003f373de601eb3f9e678c073663 (diff)
Update README.md and adding logo onto the main screenrelease/3.1
-rw-r--r--README.md8
-rw-r--r--app/src/main/res/layout/home_page.xml15
2 files changed, 13 insertions, 10 deletions
diff --git a/README.md b/README.md
index 0762f58..9670ac9 100644
--- a/README.md
+++ b/README.md
@@ -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"