title: the status bar changes it's color to black inside fullscreen dialog fragment android
body: <p>I'm using dialog fragment. The problem is that the status bar color is changed to black. How to change it to some other color? It's strange cause inside fragment, activity it works fine. Its only black inside DialogFragment</p>
  
  <pre><code>        @Override
              public void onStart() {
                  super.onStart();    //super.onStart() is where dialog.show() is actually called on the underlying dialog, so we have to do it after this point
                  Dialog d = getDialog();
                  if (d != null) {
  
                      int width = ViewGroup.LayoutParams.MATCH_PARENT;
                      int height = ViewGroup.LayoutParams.MATCH_PARENT;
                      d.getWindow().setLayout(width, height);
                      d.getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
  
                  }
              }
       @Override
          public Dialog onCreateDialog(Bundle savedInstanceState) {
              final Dialog dialog = new Dialog(getActivity(), R.style.full_screen_dialog);
              return dialog;
  
  }
  </code></pre>