title: Screen Crack Application on Android
body: <p>I am planning to create a screen crack app</p>
  
  <p>I have managed to display a cracked screen over the current screen.</p>
  
  <pre><code>&lt;activity
              android:label="@string/app_name"
              android:name=".LNActivity" 
                 android:theme="@style/Theme.Transparent"   /&gt;
  
  
  
  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
    &lt;style name="Theme.Transparent" parent="android:Theme"&gt;
      &lt;item name="android:windowIsTranslucent"&gt;true&lt;/item&gt;
      &lt;item name="android:windowBackground"&gt;@android:color/transparent&lt;/item&gt;
      &lt;item name="android:windowContentOverlay"&gt;@null&lt;/item&gt;
      &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
      &lt;item name="android:windowIsFloating"&gt;true&lt;/item&gt;
      &lt;item name="android:backgroundDimEnabled"&gt;false&lt;/item&gt;
    &lt;/style&gt;
  &lt;/resources&gt;
  
  
  getWindow().addFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE);
          getWindow().addFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL);
          getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
          requestWindowFeature(Window.FEATURE_NO_TITLE);
          setContentView(R.layout.main);
  </code></pre>
  
  <p>But it is not displaying above all activities like home,app menu,other apps.</p>