diff options
author | Alex Ning <chineseperson5@gmail.com> | 2018-12-22 02:42:24 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2018-12-22 02:42:24 +0000 |
commit | 60b659e651b4d8e7d9ca26b17ba8990497022ed1 (patch) | |
tree | 354825f6ede0d3fac91c09b2195e8c225111090b /app/src/main/res/layout/item_subscribed_subreddit.xml | |
parent | 33db4809e4376f91a566037f16694f8f19639e02 (diff) | |
download | infinity-for-reddit-60b659e651b4d8e7d9ca26b17ba8990497022ed1.tar infinity-for-reddit-60b659e651b4d8e7d9ca26b17ba8990497022ed1.tar.gz infinity-for-reddit-60b659e651b4d8e7d9ca26b17ba8990497022ed1.tar.bz2 infinity-for-reddit-60b659e651b4d8e7d9ca26b17ba8990497022ed1.tar.lz infinity-for-reddit-60b659e651b4d8e7d9ca26b17ba8990497022ed1.tar.xz infinity-for-reddit-60b659e651b4d8e7d9ca26b17ba8990497022ed1.tar.zst infinity-for-reddit-60b659e651b4d8e7d9ca26b17ba8990497022ed1.zip |
Use GifImageView to display all the images in order to prevent slow playing of the gifs. Extend GifImageView as AspectRatioGifImageView to retain the features of AspectRatioImageView.
Diffstat (limited to 'app/src/main/res/layout/item_subscribed_subreddit.xml')
-rw-r--r-- | app/src/main/res/layout/item_subscribed_subreddit.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/res/layout/item_subscribed_subreddit.xml b/app/src/main/res/layout/item_subscribed_subreddit.xml index 3795aa62..0b68efbf 100644 --- a/app/src/main/res/layout/item_subscribed_subreddit.xml +++ b/app/src/main/res/layout/item_subscribed_subreddit.xml @@ -7,8 +7,8 @@ android:focusable="true" android:background="?attr/selectableItemBackground"> - <de.hdodenhof.circleimageview.CircleImageView - android:id="@+id/subreddit_icon_circle_image_view_item_subscribed_subreddit" + <com.felipecsl.gifimageview.library.GifImageView + android:id="@+id/subreddit_icon_gif_image_view_item_subscribed_subreddit" android:layout_width="24dp" android:layout_height="24dp" android:layout_gravity="center_vertical" |