This question shows research effort; it is useful and clear
2
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我想在我的应用程序中禁用后退按钮。但仅当此方法处于活动状态时:
public void winCross() {
final Dialog dialog = new Dialog(this, android.R.style.Theme_Translucent_NoTitleBar_Fullscreen);
dialog.setContentView(R.layout.winnercross);
dialog.show();