title: Android: Set windowIsTranslucent from Activity
body: <p>I'm developing a library where I have to set the window background programmatically and I can't use custom style XMLs. The idea is that the user who implements the library can set any theme he want - I just need to make the background transparent. So all the styles for the widgets will stay the same.</p>
  
  <p>I tried some window flags like <code>WindowManager.LayoutParams.FLAG_DIM_BEHIND</code> and <code>WindowManager.LayoutParams.FLAG_BLUR_BEHIND</code>, but none of them was working. </p>
  
  <p>Every solution that I've found is based on the style xml file.</p>
  
  <p>Is there a way to set windowIsTranslucent directly from the code?</p>
  
  <p>Thanks in advance, Roman</p>