import android.widget.ProgressBar;
import android.widget.TextView;
-import com.owncloud.android.R;
-import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.lib.common.network.OnDatatransferProgressListener;
import com.owncloud.android.lib.common.utils.Log_OC;
-import com.owncloud.android.ui.fragment.FileFragment;
-
-import java.lang.ref.WeakReference;
+import com.owncloud.android.utils.DisplayUtils;
/**
}
}
- View view = null;
- view = inflater.inflate(R.layout.file_download_fragment, container, false);
- mView = view;
-
- ProgressBar progressBar = (ProgressBar) mView.findViewById(R.id.progressBar);
+ mView = inflater.inflate(R.layout.file_download_fragment, container, false);
+
+ ProgressBar progressBar = (ProgressBar)mView.findViewById(R.id.progressBar);
+ DisplayUtils.colorPreLollipopHorizontalProgressBar(progressBar);
mProgressListener = new ProgressListener(progressBar);
(mView.findViewById(R.id.cancelBtn)).setOnClickListener(this);
setButtonsForTransferring();
}
- return view;
+ return mView;
}