fix layouts on offline, etc
This commit is contained in:
parent
79d551ab8d
commit
0d0a7bf92b
@ -1074,7 +1074,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
|||||||
if (!m_compactLayoutMode && holder.flavorImageHolder != null) {
|
if (!m_compactLayoutMode && holder.flavorImageHolder != null) {
|
||||||
|
|
||||||
/* reset to default in case of convertview */
|
/* reset to default in case of convertview */
|
||||||
holder.flavorImageView.setVisibility(View.VISIBLE);
|
holder.flavorImageLoadingBar.setVisibility(View.GONE);
|
||||||
holder.flavorImageView.setVisibility(View.GONE);
|
holder.flavorImageView.setVisibility(View.GONE);
|
||||||
holder.flavorVideoKindView.setVisibility(View.GONE);
|
holder.flavorVideoKindView.setVisibility(View.GONE);
|
||||||
|
|
||||||
|
@ -461,6 +461,7 @@ public class OfflineHeadlinesFragment extends Fragment implements OnItemClickLis
|
|||||||
public View headlineFooter;
|
public View headlineFooter;
|
||||||
public ImageView textImage;
|
public ImageView textImage;
|
||||||
public ImageView textChecked;
|
public ImageView textChecked;
|
||||||
|
public ImageView flavorVideoKindView;
|
||||||
}
|
}
|
||||||
|
|
||||||
private class ArticleListAdapter extends SimpleCursorAdapter {
|
private class ArticleListAdapter extends SimpleCursorAdapter {
|
||||||
@ -579,6 +580,7 @@ public class OfflineHeadlinesFragment extends Fragment implements OnItemClickLis
|
|||||||
holder.headlineFooter = v.findViewById(R.id.headline_footer);
|
holder.headlineFooter = v.findViewById(R.id.headline_footer);
|
||||||
holder.textImage = (ImageView) v.findViewById(R.id.text_image);
|
holder.textImage = (ImageView) v.findViewById(R.id.text_image);
|
||||||
holder.textChecked = (ImageView) v.findViewById(R.id.text_checked);
|
holder.textChecked = (ImageView) v.findViewById(R.id.text_checked);
|
||||||
|
holder.flavorVideoKindView = (ImageView) v.findViewById(R.id.flavor_video_kind);
|
||||||
|
|
||||||
v.setTag(holder);
|
v.setTag(holder);
|
||||||
|
|
||||||
@ -761,7 +763,11 @@ public class OfflineHeadlinesFragment extends Fragment implements OnItemClickLis
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (holder.flavorImageHolder != null) {
|
if (holder.flavorImageHolder != null) {
|
||||||
holder.flavorImageHolder.setVisibility(View.GONE);
|
|
||||||
|
/* reset to default in case of convertview */
|
||||||
|
holder.flavorImageLoadingBar.setVisibility(View.GONE);
|
||||||
|
holder.flavorImageView.setVisibility(View.GONE);
|
||||||
|
holder.flavorVideoKindView.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (holder.menuButtonView != null) {
|
if (holder.menuButtonView != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user