From a2b30e22d291f8546b22650012827856020490de Mon Sep 17 00:00:00 2001 From: rain <2393257527@qq.com> Date: Thu, 29 May 2025 13:02:47 +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, 3 insertions(+), 13 deletions(-) diff --git a/Notes-master/src/net/micode/notes/ui/NotesListActivity.java b/Notes-master/src/net/micode/notes/ui/NotesListActivity.java index 8135e9b..4d5706e 100644 --- a/Notes-master/src/net/micode/notes/ui/NotesListActivity.java +++ b/Notes-master/src/net/micode/notes/ui/NotesListActivity.java @@ -137,25 +137,15 @@ 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(); - 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); - - } - }); + getWindow().setBackgroundDrawableResource(R.drawable.bg1); + getWindow().setBackgroundDrawableResource(R.drawable.bg2); + initResources(); /** * Insert an introduction when user firstly use this application