aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-06-04 02:05:57 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-06-04 02:05:57 +0000
commit4927f8278643e8deccede688a96183f139ce9691 (patch)
tree4ad7f3e47c861fdb9d39ce3c39e94cbe4d763b74 /app/src/main/res
parentbb42cb713d76d997d16b5bfbc4052672c9031fed (diff)
downloadinfinity-for-reddit-4927f8278643e8deccede688a96183f139ce9691.tar
infinity-for-reddit-4927f8278643e8deccede688a96183f139ce9691.tar.gz
infinity-for-reddit-4927f8278643e8deccede688a96183f139ce9691.tar.bz2
infinity-for-reddit-4927f8278643e8deccede688a96183f139ce9691.tar.lz
infinity-for-reddit-4927f8278643e8deccede688a96183f139ce9691.tar.xz
infinity-for-reddit-4927f8278643e8deccede688a96183f139ce9691.tar.zst
infinity-for-reddit-4927f8278643e8deccede688a96183f139ce9691.zip
Remove ViewImgurGifFragment.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/fragment_view_imgur_gif.xml38
-rw-r--r--app/src/main/res/values/strings.xml2
2 files changed, 2 insertions, 38 deletions
diff --git a/app/src/main/res/layout/fragment_view_imgur_gif.xml b/app/src/main/res/layout/fragment_view_imgur_gif.xml
deleted file mode 100644
index 4a0697f4..00000000
--- a/app/src/main/res/layout/fragment_view_imgur_gif.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/constraintLayout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".Fragment.ViewImgurImageFragment">
-
- <ProgressBar
- android:id="@+id/progress_bar_view_imgur_gif_fragment"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true" />
-
- <pl.droidsonroids.gif.GifImageView
- android:id="@+id/image_view_view_imgur_gif_fragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
-
- <LinearLayout
- android:id="@+id/load_image_error_linear_layout_view_imgur_gif_fragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="gone">
-
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:drawableTop="@drawable/ic_error_outline_white_24dp"
- android:layout_gravity="center"
- android:gravity="center"
- android:textColor="@android:color/white"
- android:text="@string/error_loading_gif_tap_to_retry"
- android:textSize="?attr/font_default" />
-
- </LinearLayout>
-
-</RelativeLayout> \ 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 e4bf34b2..7194dcf4 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -26,6 +26,8 @@
<string name="edit_multi_reddit_activity_label">Edit Multireddit</string>
<string name="selected_subeddits_activity_label">Selected Subreddits</string>
<string name="report_activity_label">Report</string>
+ <string name="view_imgur_media_activity_image_label">Image %1$d/%2$d</string>
+ <string name="view_imgur_media_activity_video_label">Video %1$d/%2$d</string>
<string name="navigation_drawer_open">Open navigation drawer</string>
<string name="navigation_drawer_close">Close navigation drawer</string>