From f326faecc2db6f65ff20d8ebf5002a2b1dfe8d96 Mon Sep 17 00:00:00 2001 From: sjtufs Date: Tue, 3 Sep 2013 16:06:36 +0800 Subject: update --- client/Piztor/src/com/macaroon/piztor/Login.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'client/Piztor/src') diff --git a/client/Piztor/src/com/macaroon/piztor/Login.java b/client/Piztor/src/com/macaroon/piztor/Login.java index a359c6a..d370b2e 100644 --- a/client/Piztor/src/com/macaroon/piztor/Login.java +++ b/client/Piztor/src/com/macaroon/piztor/Login.java @@ -13,6 +13,7 @@ import android.view.animation.AlphaAnimation; import android.widget.Button; import android.widget.EditText; import android.widget.ImageView; +import android.widget.TextView; import android.widget.Toast; public class Login extends PiztorAct { @@ -90,12 +91,12 @@ public class Login extends PiztorAct { id = "login"; super.onCreate(savedInstanceState); setContentView(R.layout.activity_login); - ImageView imageView = (ImageView) findViewById(R.id.login_img); + TextView textView = (TextView) findViewById(R.id.login_app_name); AlphaAnimation alphaUp = new AlphaAnimation(0.0f, 1.0f); alphaUp.setDuration(2000); alphaUp.setStartOffset(500); alphaUp.setFillAfter(true); - imageView.startAnimation(alphaUp); + textView.startAnimation(alphaUp); } @Override -- cgit v1.2.3-70-g09d2