summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/Piztor/res/layout/activity_login.xml1
-rw-r--r--client/Piztor/src/com/macaroon/piztor/Login.java5
2 files changed, 4 insertions, 2 deletions
diff --git a/client/Piztor/res/layout/activity_login.xml b/client/Piztor/res/layout/activity_login.xml
index dac2d35..0d92043 100644
--- a/client/Piztor/res/layout/activity_login.xml
+++ b/client/Piztor/res/layout/activity_login.xml
@@ -28,6 +28,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
+ android:id="@+id/login_app_name"
android:text="@string/app_name"
android:textSize="30dip"
android:textColor="#FFFFFF"/>
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