Restored progress bar to activity fragment

pull/14/head
Sam Bosley 12 years ago
parent 2104d3eae0
commit 6cee41ac9a

@ -309,7 +309,7 @@ public class TagUpdatesFragment extends ListFragment {
private void refreshActivity(boolean manual) {
if (actFmPreferenceService.isLoggedIn()) {
final ProgressBarSyncResultCallback callback = new ProgressBarSyncResultCallback(
getActivity(), R.id.progressBar, new Runnable() {
getActivity(), R.id.comments_progressBar, new Runnable() {
@Override
public void run() {
refreshUpdatesList();

@ -6,14 +6,6 @@
android:layout_height="fill_parent"
android:orientation="vertical" >
<ProgressBar
android:id="@+id/comments_progressBar"
style="@android:style/Widget.ProgressBar.Horizontal"
android:layout_width="fill_parent"
android:layout_height="5dip"
android:layout_weight="1"
android:visibility="gone" />
<RelativeLayout
android:id="@+id/no_activity_container"
android:layout_width="fill_parent"
@ -46,6 +38,13 @@
android:layout_height="fill_parent"
android:layout_weight="100" />
<ProgressBar
android:id="@+id/comments_progressBar"
style="@android:style/Widget.ProgressBar.Horizontal"
android:layout_width="fill_parent"
android:layout_height="5dip"
android:layout_weight="1"
android:visibility="gone" />
<!-- Footer -->
<LinearLayout

Loading…
Cancel
Save