diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-03-23 10:38:03 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-03-23 10:38:03 +0100 |
commit | d283df0f70241bb6b54bee66e8fb9564b0051376 (patch) | |
tree | 374a9a97fc1ad7caa3766b4bac45f517631444cd /app/src/main/res | |
parent | 436a01b64a3c2500aa8801a72f95dfc40b0b33b7 (diff) |
Feature added to mangas
Display other pages by touching the bottom or by clicking buttons
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/top_manga_page.xml | 16 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 |
2 files changed, 18 insertions, 0 deletions
diff --git a/app/src/main/res/layout/top_manga_page.xml b/app/src/main/res/layout/top_manga_page.xml index f3d0db3..2f4a9f1 100644 --- a/app/src/main/res/layout/top_manga_page.xml +++ b/app/src/main/res/layout/top_manga_page.xml @@ -25,6 +25,14 @@ </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> <Button + android:id="@+id/button_prev" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/prev" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toStartOf="@id/button_home" /> + + <Button android:id="@+id/button_home" android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -33,4 +41,12 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" /> + <Button + android:id="@+id/button_next" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/next" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toEndOf="@id/button_home" /> + </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 0c56edc..861a440 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -42,5 +42,7 @@ <string name="search_anime">Search Anime</string> <string name="search_anime_page_label">Search Anime Page</string> <string name="hint_query">Your query …</string> + <string name="prev">PREV</string> + <string name="next">NEXT</string> </resources>
\ No newline at end of file |