don't show flavor overflow all the time

This commit is contained in:
Andrew Dolgov 2015-12-02 15:23:31 +03:00
parent 82afd653f2
commit cc757d2b06
2 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.fox.ttrss"
android:versionCode="391"
android:versionCode="392"
android:versionName="1.161" >
<uses-sdk

View File

@ -1126,6 +1126,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
holder.flavorImageLoadingBar.setVisibility(View.GONE);
holder.flavorImageView.setVisibility(View.GONE);
holder.flavorVideoKindView.setVisibility(View.GONE);
holder.flavorImageOverflow.setVisibility(View.GONE);
holder.headlineHeader.setBackgroundDrawable(null);
holder.headlineHeader.setOnClickListener(new OnClickListener() {
@ -1199,6 +1200,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
if (bitmap.getWidth() > FLAVOR_IMG_MIN_SIZE && bitmap.getHeight() > FLAVOR_IMG_MIN_SIZE) {
holder.flavorImageView.setVisibility(View.VISIBLE);
holder.flavorImageOverflow.setVisibility(View.VISIBLE);
maybeRepositionFlavorImage(view, bitmap, holder);
adjustVideoKindView(holder, article);
@ -1229,6 +1231,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
} else { // already tagged
holder.flavorImageView.setVisibility(View.VISIBLE);
holder.flavorImageOverflow.setVisibility(View.VISIBLE);
adjustVideoKindView(holder, article);