title: Creating System overlay window Like a normal activity
body: <p>My app Locks the phone , i found that i can do this by creating a system over lay window .
  but i want this window to contain buttons and <strong>generate</strong> <code>TextViews</code> and <strong>handle</strong> <code>onClick</code> events
  How to do it ? could you provide sample codes please 
  this is an example for what i want to do
  <a href="https://support.eset.com/Platform/Publishing/images/Authoring/Image%20Files/ESET/KB%20Team%20Only/SOLN2949/KB2949_SMS_lock_screenb.gif" rel="nofollow noreferrer">example for the activity</a></p>