aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-09-23 01:41:51 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-09-23 01:41:51 +0000
commit3aa36ff74f38191efb8f4a04234974a57eccaf71 (patch)
tree400b3d900b657b24faad6c09bc87a4b1248fe4cc /app/src/main/res
parent31c32148bcd52250885e400ffd90fff1e08b384c (diff)
downloadinfinity-for-reddit-3aa36ff74f38191efb8f4a04234974a57eccaf71.tar
infinity-for-reddit-3aa36ff74f38191efb8f4a04234974a57eccaf71.tar.gz
infinity-for-reddit-3aa36ff74f38191efb8f4a04234974a57eccaf71.tar.bz2
infinity-for-reddit-3aa36ff74f38191efb8f4a04234974a57eccaf71.tar.lz
infinity-for-reddit-3aa36ff74f38191efb8f4a04234974a57eccaf71.tar.xz
infinity-for-reddit-3aa36ff74f38191efb8f4a04234974a57eccaf71.tar.zst
infinity-for-reddit-3aa36ff74f38191efb8f4a04234974a57eccaf71.zip
Migrate to ViewPager2 in AccountSavedThingActivity.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_account_saved_thing.xml2
-rw-r--r--app/src/main/res/values/strings.xml3
2 files changed, 4 insertions, 1 deletions
diff --git a/app/src/main/res/layout/activity_account_saved_thing.xml b/app/src/main/res/layout/activity_account_saved_thing.xml
index 57f61d2c..d297b727 100644
--- a/app/src/main/res/layout/activity_account_saved_thing.xml
+++ b/app/src/main/res/layout/activity_account_saved_thing.xml
@@ -47,7 +47,7 @@
</com.google.android.material.appbar.AppBarLayout>
- <androidx.viewpager.widget.ViewPager
+ <androidx.viewpager2.widget.ViewPager2
android:id="@+id/view_pager_account_saved_thing_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 6020561e..b1c6893c 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -187,6 +187,9 @@
<string name="subreddits">Subreddits</string>
<string name="users">Users</string>
<string name="multi_reddits">MultiReddits</string>
+ <string name="posts">Posts</string>
+ <string name="comments">Comments</string>
+ <string name="sidebar">Sidebar</string>
<string name="bottom_sheet_post_text">Text</string>
<string name="bottom_sheet_post_link">Link</string>