aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-09-22 16:26:05 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-09-22 16:26:05 +0000
commit31c32148bcd52250885e400ffd90fff1e08b384c (patch)
tree2d8d1f6f7780b66b7de2279780fc51e9ca4c6948 /app/src/main/res
parent58af3557e846687d17ace088574b9a6b9b2633e0 (diff)
downloadinfinity-for-reddit-31c32148bcd52250885e400ffd90fff1e08b384c.tar
infinity-for-reddit-31c32148bcd52250885e400ffd90fff1e08b384c.tar.gz
infinity-for-reddit-31c32148bcd52250885e400ffd90fff1e08b384c.tar.bz2
infinity-for-reddit-31c32148bcd52250885e400ffd90fff1e08b384c.tar.lz
infinity-for-reddit-31c32148bcd52250885e400ffd90fff1e08b384c.tar.xz
infinity-for-reddit-31c32148bcd52250885e400ffd90fff1e08b384c.tar.zst
infinity-for-reddit-31c32148bcd52250885e400ffd90fff1e08b384c.zip
Migrate to ViewPager2 in SearchResultActivity.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/activity_search_result.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/src/main/res/layout/activity_search_result.xml b/app/src/main/res/layout/activity_search_result.xml
index cf798b26..889a1732 100644
--- a/app/src/main/res/layout/activity_search_result.xml
+++ b/app/src/main/res/layout/activity_search_result.xml
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout 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:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_layout_search_result_activity">
@@ -42,11 +41,10 @@
</com.google.android.material.appbar.AppBarLayout>
- <androidx.viewpager.widget.ViewPager
+ <androidx.viewpager2.widget.ViewPager2
android:id="@+id/view_pager_search_result_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
- tools:application=".SearchResultActivity" />
+ app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file