You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
735 B
29 lines
735 B
package net.micode.notes.ui;
|
|
|
|
import android.app.Activity;
|
|
import android.os.Bundle;
|
|
import android.support.annotation.Nullable;
|
|
import android.view.View;
|
|
import android.widget.Button;
|
|
|
|
import net.micode.notes.R;
|
|
|
|
public class AppLockActivity extends Activity {
|
|
|
|
@Override
|
|
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
|
super.onCreate(savedInstanceState);
|
|
setContentView(R.layout.app_lock);
|
|
Button button1 = findViewById(R.id.app_lock_button1);
|
|
button1.setOnClickListener(new View.OnClickListener() {
|
|
@Override
|
|
public void onClick(View v) {
|
|
finish();
|
|
}
|
|
});
|
|
}
|
|
@Override
|
|
public void onBackPressed() {
|
|
}
|
|
}
|