0

我正在android中创建一个指令屏幕,(类似于第一次打开智能手机时android制作的屏幕。)我需要制作一个与整个屏幕(内容和ActionBar)重叠的布局。我怎么做。

  • 我使用哪种布局
  • 如何将其重叠在操作栏上方?

提前致谢。

这是图片的链接:

Android 说明屏幕

我想做这样的东西。因此,我需要一个与整个屏幕重叠的布局。(除了最顶部的通知栏)

4

1 回答 1

0
       You can use Alert box for this when you enter in that screen then first it call this code after that rest of your screen code what ever you write in your activity here is my code 

         AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(MainCleanerActivity.this);
                        alertDialogBuilder.setTitle("YOUR TITLE");
                        alertDialogBuilder
                            .setMessage("YOUR APP MESSAGE WHICH YOU WANT TO SHOW
")
                            .setCancelable(false)
                            .setPositiveButton("Yes",new DialogInterface.OnClickListener() {
                                public void onClick(DialogInterface dialog,int id) {
                                    dialog.cancel();
                                }
                              });
                            AlertDialog alertDialog = alertDialogBuilder.create();
                            alertDialog.show();
于 2013-10-18T12:07:59.287 回答