Suppression progress bar
authorVincent Veronis <veroni_v@epitech.net>
Thu, 03 Dec 2009 12:15:54 +0100
changeset 554 eaf76f5b1f65
parent 553 8b7a64f38a59
child 555 5262009d9a24
child 559 99c587773311
Suppression progress bar
res/layout/login_anim.xml
src/com/beem/project/beem/ui/LoginAnim.java
--- a/res/layout/login_anim.xml	Thu Dec 03 12:15:09 2009 +0100
+++ b/res/layout/login_anim.xml	Thu Dec 03 12:15:54 2009 +0100
@@ -6,9 +6,6 @@
 	<ImageView android:id="@+id/loginanim_logo_anim" android:src="@drawable/beem_launcher_icon_color"
 		android:layout_height="fill_parent" android:layout_width="fill_parent"
 		android:layout_weight="1" />
-	<ProgressBar android:id="@+id/loginanim_progressbar"
-		android:layout_width="fill_parent" android:layout_height="fill_parent"
-		android:layout_weight="1" />
 	<Button android:id="@+id/loginanim_cancel_button"
 		android:layout_height="wrap_content" android:layout_width="fill_parent"
 		android:layout_gravity="bottom" android:text="@string/CancelButton" />
--- a/src/com/beem/project/beem/ui/LoginAnim.java	Thu Dec 03 12:15:09 2009 +0100
+++ b/src/com/beem/project/beem/ui/LoginAnim.java	Thu Dec 03 12:15:54 2009 +0100
@@ -16,7 +16,6 @@
 import android.view.animation.AnimationUtils;
 import android.widget.Button;
 import android.widget.ImageView;
-import android.widget.ProgressBar;
 
 import com.beem.project.beem.R;
 import com.beem.project.beem.service.aidl.IXmppConnection;
@@ -39,7 +38,6 @@
     private IXmppFacade mXmppFacade;
     private AsyncTask<IXmppFacade, Void, Boolean> mTask;
     private Button mCancelBt;
-    private ProgressBar mProgressBar;
 
     /**
      * Constructor.
@@ -55,8 +53,6 @@
 	mRotateAnim = AnimationUtils.loadAnimation(this, R.anim.rotate_and_scale);
 	mCancelBt = (Button) findViewById(R.id.loginanim_cancel_button);
 	mCancelBt.setOnClickListener(new ClickListener());
-	mProgressBar = (ProgressBar) findViewById(R.id.loginanim_progressbar);
-	mProgressBar.setIndeterminate(true);
     }
 
     @Override