[*]
陈奇
2018-11-27 a45036d4003974f8e78eb819a932895291d677d6
app/src/main/java/com/moral/yunfushao/activity/LoginActivity.java
@@ -1,5 +1,6 @@
package com.moral.yunfushao.activity;
import android.animation.ObjectAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
@@ -36,6 +37,7 @@
    private TextView tv_forget, tv_register;
    private EditText et_phone, et_pwd;
    private IWXAPI iwxapi;
    private ObjectAnimator animator;
    @Override
    protected void getBundleExtras(Bundle extras) {
@@ -77,8 +79,24 @@
        et_phone = findView(R.id.et_phone);
        et_pwd = findView(R.id.et_pwd);
        weixinlogin = findView(R.id.weixinlogin);
//        et_phone.setText("18362724160");
//        et_pwd.setText("123456");
        initAnimator();
    }
    private void initAnimator() {
//        ObjectAnimator an = ObjectAnimator.ofFloat(bt_sure, "translationX", 500f, 0f);
//        an.start();
////        ObjectAnimator translationY = ObjectAnimator.ofFloat(bt_sure, "rotation", 360f, 0f);
//        ObjectAnimator scaleY = ObjectAnimator.ofFloat(bt_sure, "scaleY", 0f, 1f);
//        ObjectAnimator scaleX = ObjectAnimator.ofFloat(bt_sure, "scaleX", 0f, 1f);
//
//        AnimatorSet oo = new AnimatorSet();
//        oo.playTogether(scaleY, scaleX);
//        oo.setDuration(500);
//        oo.start();
    }
    @Override
@@ -86,6 +104,7 @@
        bt_sure.setOnClickListener(this);
        tv_forget.setOnClickListener(this);
        tv_register.setOnClickListener(this);
        weixinlogin.setOnClickListener(this);
    }
    @Override