From a50cbb3f1605267ebe81f9a2999f4acb879d7047 Mon Sep 17 00:00:00 2001 From: rain <2393257527@qq.com> Date: Thu, 29 May 2025 13:01:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=A7=81=E5=AF=86=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../net/micode/notes/ui/NotesListActivity.java | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Notes-master/src/net/micode/notes/ui/NotesListActivity.java b/Notes-master/src/net/micode/notes/ui/NotesListActivity.java index 4d5706e..8135e9b 100644 --- a/Notes-master/src/net/micode/notes/ui/NotesListActivity.java +++ b/Notes-master/src/net/micode/notes/ui/NotesListActivity.java @@ -137,15 +137,25 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt private final static int REQUEST_CODE_OPEN_NODE = 102; private final static int REQUEST_CODE_NEW_NODE = 103; + public Button mBtnsf; + @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.note_list); + initResources(); - getWindow().setBackgroundDrawableResource(R.drawable.bg1); - getWindow().setBackgroundDrawableResource(R.drawable.bg2); + mBtnsf = findViewById(R.id.btn_sf); + mBtnsf.setOnClickListener(new OnClickListener() { + @Override + public void onClick(View view) { + Intent intent=null; + intent = new Intent(NotesListActivity.this,pwdActivity.class); + startActivity(intent); + + } + }); - initResources(); /** * Insert an introduction when user firstly use this application