don't show flavor overflow all the time
This commit is contained in:
parent
82afd653f2
commit
cc757d2b06
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user