-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcomm_act.txt
79 lines (57 loc) · 1.74 KB
/
comm_act.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
package com.example.slbapplogin;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import com.haier.cellarette.baselibrary.baseactivitys.BaseActivity;
public class WangjiActivity extends BaseActivity implements View.OnClickListener {
private TextView tvLeft;
private TextView tvCenter;
private EditText edt1;
private EditText edt2;
private Button btnHqyzm;
private Button btnSure;
@Override
protected int getLayoutId() {
return R.layout.activity_wangji;
}
@Override
protected void setup(@Nullable Bundle savedInstanceState) {
super.setup(savedInstanceState);
findview();
onclick();
donetwork();
}
private void donetwork() {
tvCenter.setText("忘记密码");
tvLeft.setVisibility(View.VISIBLE);
}
@Override
public void onClick(View v) {
int i = v.getId();
if (i == R.id.tv_left) {
onBackPressed();
} else {
}
}
private void onclick() {
tvLeft.setOnClickListener(this);
}
private void findview() {
tvLeft = (TextView) findViewById(R.id.tv_left);
tvCenter = (TextView) findViewById(R.id.tv_center);
edt1 = (EditText) findViewById(R.id.edt1);
edt2 = (EditText) findViewById(R.id.edt2);
btnHqyzm = (Button) findViewById(R.id.btn_hqyzm);
btnSure = (Button) findViewById(R.id.btn_sure);
}
@Override
protected void onDestroy() {
super.onDestroy();
}
/**
* --------------------------------业务逻辑分割线----------------------------------
*/
}