diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/article_page.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/layout/home_page.xml | 24 | ||||
-rw-r--r-- | app/src/main/res/layout/item_layout.xml | 11 | ||||
-rw-r--r-- | app/src/main/res/layout/news_page.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/layout/top_manga_page.xml | 4 |
5 files changed, 18 insertions, 29 deletions
diff --git a/app/src/main/res/layout/article_page.xml b/app/src/main/res/layout/article_page.xml index 58674de..380ba00 100644 --- a/app/src/main/res/layout/article_page.xml +++ b/app/src/main/res/layout/article_page.xml @@ -12,13 +12,13 @@ android:id="@+id/textview_second" android:layout_width="wrap_content" android:layout_height="wrap_content" - app:layout_constraintBottom_toTopOf="@id/home" + app:layout_constraintBottom_toTopOf="@id/button_home" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> <Button - android:id="@+id/home" + android:id="@+id/button_home" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/home" diff --git a/app/src/main/res/layout/home_page.xml b/app/src/main/res/layout/home_page.xml index bf81de4..036800c 100644 --- a/app/src/main/res/layout/home_page.xml +++ b/app/src/main/res/layout/home_page.xml @@ -9,7 +9,7 @@ > <TextView - android:id="@+id/title" + android:id="@+id/tv_title" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/black" @@ -18,40 +18,40 @@ android:textAlignment="center" android:textColor="@color/strong_pink" android:textSize="40sp" - app:layout_constraintBottom_toTopOf="@id/news" + app:layout_constraintBottom_toTopOf="@id/button_news" app:layout_constraintTop_toTopOf="parent" /> <Button - android:id="@+id/news" + android:id="@+id/button_news" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/news" - app:layout_constraintTop_toBottomOf="@id/title" + app:layout_constraintTop_toBottomOf="@id/tv_title" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toStartOf="@id/article" + app:layout_constraintEnd_toStartOf="@id/button_article" /> <Button - android:id="@+id/article" + android:id="@+id/button_article" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/article" - app:layout_constraintTop_toBottomOf="@id/title" + app:layout_constraintTop_toBottomOf="@id/tv_title" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintStart_toEndOf="@id/news" - app:layout_constraintEnd_toStartOf="@id/top_manga" + app:layout_constraintStart_toEndOf="@id/button_news" + app:layout_constraintEnd_toStartOf="@id/button_top_manga" /> <Button - android:id="@+id/top_manga" + android:id="@+id/button_top_manga" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/top_manga" - app:layout_constraintTop_toBottomOf="@id/title" + app:layout_constraintTop_toBottomOf="@id/tv_title" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintStart_toEndOf="@id/article" + app:layout_constraintStart_toEndOf="@id/button_article" app:layout_constraintEnd_toEndOf="parent" /> diff --git a/app/src/main/res/layout/item_layout.xml b/app/src/main/res/layout/item_layout.xml index c4b662c..af4b9b0 100644 --- a/app/src/main/res/layout/item_layout.xml +++ b/app/src/main/res/layout/item_layout.xml @@ -2,7 +2,6 @@ <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" android:id="@+id/cv_cardView" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -42,16 +41,6 @@ android:textColor="@color/strong_pink" android:textSize="30sp"/> - <!--TextView - android:id="@+id/tv_description" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginStart="10dp" - android:text="@string/rv_description" - android:textColor="@color/slightly_desaturated_magenta" - android:textSize="20sp" - /--> - </androidx.constraintlayout.widget.ConstraintLayout> </androidx.cardview.widget.CardView>
\ No newline at end of file diff --git a/app/src/main/res/layout/news_page.xml b/app/src/main/res/layout/news_page.xml index 5d9018c..2e41ad0 100644 --- a/app/src/main/res/layout/news_page.xml +++ b/app/src/main/res/layout/news_page.xml @@ -12,13 +12,13 @@ android:id="@+id/textview_second" android:layout_width="wrap_content" android:layout_height="wrap_content" - app:layout_constraintBottom_toTopOf="@id/home" + app:layout_constraintBottom_toTopOf="@id/button_home" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> <Button - android:id="@+id/home" + android:id="@+id/button_home" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/home" diff --git a/app/src/main/res/layout/top_manga_page.xml b/app/src/main/res/layout/top_manga_page.xml index 4a807f1..ba19596 100644 --- a/app/src/main/res/layout/top_manga_page.xml +++ b/app/src/main/res/layout/top_manga_page.xml @@ -12,14 +12,14 @@ android:id="@+id/recycler_view" android:layout_width="0dp" android:layout_height="0dp" - app:layout_constraintBottom_toTopOf="@+id/home" + app:layout_constraintBottom_toTopOf="@+id/button_home" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" tools:listitem="@layout/item_layout" /> <Button - android:id="@+id/home" + android:id="@+id/button_home" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/home" |