-
-
Save codeforfun-jp/d493d7d9ecefe477a63ad9e3a0fb3937 to your computer and use it in GitHub Desktop.
[Java Quiz ver2] 7-1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ResultActivity extends AppCompatActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
EdgeToEdge.enable(this); | |
ActivityResultBinding binding = ActivityResultBinding.inflate(getLayoutInflater()); | |
setContentView(binding.getRoot()); | |
ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> { | |
/* 省略 */ | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment