This is what I've done to implement CommonsWare's answer in the following question:How do I create a help overlay like you see in a few Android apps and ICS?But it fails. There are no errors but nothing appears when I run (I've made sure that the isFirstTime() function below is functioning properly\[code\]@Overridepublic void onCreate(Bundle savedInstanceState){ this.requestWindowFeature(Window.FEATURE_NO_TITLE); super.onCreate(savedInstanceState);if(isFirstTime()){ LayoutInflater inflater = LayoutInflater.from(this); final FrameLayout overlayFrameLayout = new FrameLayout(this); setContentView(overlayFrameLayout); overlayFrameLayout.addView(inflater.inflate(R.layout.main, null)); overlayFrameLayout.addView(inflater.inflate(R.layout.overlay, null)); overlayFrameLayout.setVisibility(View.VISIBLE); overlayFrameLayout.setOnTouchListener(new View.OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { overlayFrameLayout.setVisibility(View.INVISIBLE); overlayFrameLayout.removeViewAt(1); return false; } });}setContentView(R.layout.main);ctx = getApplicationContext();\[/code\]I'm pretty sure that I've gone wrong when creating the FrameLayout. Appreciate the help, thanks!