|
|
@ -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_OPEN_NODE = 102;
|
|
|
|
private final static int REQUEST_CODE_NEW_NODE = 103;
|
|
|
|
private final static int REQUEST_CODE_NEW_NODE = 103;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Button mBtnsf;
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
|
|
super.onCreate(savedInstanceState);
|
|
|
|
super.onCreate(savedInstanceState);
|
|
|
|
setContentView(R.layout.note_list);
|
|
|
|
setContentView(R.layout.note_list);
|
|
|
|
|
|
|
|
initResources();
|
|
|
|
|
|
|
|
|
|
|
|
getWindow().setBackgroundDrawableResource(R.drawable.bg1);
|
|
|
|
mBtnsf = findViewById(R.id.btn_sf);
|
|
|
|
getWindow().setBackgroundDrawableResource(R.drawable.bg2);
|
|
|
|
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
|
|
|
|
* Insert an introduction when user firstly use this application
|
|
|
|