-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathMain3Activity.java
More file actions
25 lines (21 loc) · 891 Bytes
/
Main3Activity.java
File metadata and controls
25 lines (21 loc) · 891 Bytes
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
package com.shashank.platform.busbookingappui;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ImageView;
import androidx.appcompat.app.AppCompatActivity;
public class Main3Activity extends AppCompatActivity {
ImageView return_action;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.activity_main3);
return_action = findViewById(R.id.return_icon);
return_action.setOnClickListener(view -> {
Intent intent = new Intent(getApplicationContext(), Main2Activity.class);
startActivity(intent);
});
}
}