Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3 #12 第三次作业 #314

Merged
merged 1 commit into from
May 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package edu.hzuapps.androidlabs.homeworks.net1414080903120.ui;
import java.io.IOException;
import java.io.ObjectOutputStream;



import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

import edu.hzuapps.androidlabs.R;

public class LoginActivity extends AppCompatActivity {
public static String userInfo;
EditText accountEt,passwordEt;

protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.net1414080903120_activity_login);

accountEt=(EditText) findViewById(R.id.et_account);
passwordEt=(EditText) findViewById(R.id.et_password);
Button btnLogin=(Button) findViewById(R.id.btn_login);
}
}

This file was deleted.

4 changes: 4 additions & 0 deletions AndroidLabs/app/src/main/res/drawable/cb_check.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="true" android:drawable="@drawable/cb_on"/>
<item android:drawable="@drawable/cb_normal"/>
</selector>
Binary file added AndroidLabs/app/src/main/res/drawable/cb_normal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AndroidLabs/app/src/main/res/drawable/cb_on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading