headlines: animate images, add vertical scrollbar

This commit is contained in:
Andrew Dolgov 2017-06-04 19:56:32 +03:00
parent fac96820b4
commit af67ce49d7
2 changed files with 1 additions and 2 deletions

View File

@ -1191,7 +1191,6 @@ public class HeadlinesFragment extends Fragment {
Glide.with(HeadlinesFragment.this) Glide.with(HeadlinesFragment.this)
.load(article.flavorImageUri) .load(article.flavorImageUri)
//.dontAnimate()
.dontTransform() .dontTransform()
.diskCacheStrategy(DiskCacheStrategy.ALL) .diskCacheStrategy(DiskCacheStrategy.ALL)
.skipMemoryCache(false) .skipMemoryCache(false)
@ -1507,7 +1506,6 @@ public class HeadlinesFragment extends Fragment {
.load(article.flavorImageUri) .load(article.flavorImageUri)
.placeholder(textDrawable) .placeholder(textDrawable)
.bitmapTransform(new CropCircleTransformation(getActivity())) .bitmapTransform(new CropCircleTransformation(getActivity()))
.dontAnimate()
.diskCacheStrategy(DiskCacheStrategy.ALL) .diskCacheStrategy(DiskCacheStrategy.ALL)
.skipMemoryCache(false) .skipMemoryCache(false)
.listener(new RequestListener<String, GlideDrawable>() { .listener(new RequestListener<String, GlideDrawable>() {

View File

@ -14,6 +14,7 @@
<org.fox.ttrss.util.ContextMenuRecyclerView <org.fox.ttrss.util.ContextMenuRecyclerView
android:id="@+id/headlines_list" android:id="@+id/headlines_list"
android:drawSelectorOnTop="true" android:drawSelectorOnTop="true"
android:scrollbars="vertical"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
</android.support.v4.widget.SwipeRefreshLayout> </android.support.v4.widget.SwipeRefreshLayout>