package com.nxmup.androidclient.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.nxmup.androidclient.R;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
}

package com.nxmup.androidclient.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.nxmup.androidclient.R;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    	LogUtil.show();
    }
}

修改了登录界面,已经添加了逻辑