mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
Remove the progress spinner when not in use so that the "Load more..." text is centered.
This commit is contained in:
parent
9a16ecce3d
commit
c81f68af33
@ -1830,7 +1830,7 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
|
|||||||
|
|
||||||
FooterViewHolder holder = (FooterViewHolder) mFooterView.getTag();
|
FooterViewHolder holder = (FooterViewHolder) mFooterView.getTag();
|
||||||
|
|
||||||
holder.progress.setVisibility(progressVisible ? ProgressBar.VISIBLE : ProgressBar.INVISIBLE);
|
holder.progress.setVisibility(progressVisible ? ProgressBar.VISIBLE : ProgressBar.GONE);
|
||||||
if (text != null) {
|
if (text != null) {
|
||||||
holder.main.setText(text);
|
holder.main.setText(text);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user