title: transparent background does not work for bottomsheet
body: <p>My code is as shown below:</p>
  
  <pre><code>public class OTP extends BottomSheetDialogFragment {
  
      private RecyclerView recyclerView;
      private OTPAdapter otpAdapter;
      private List&lt;demand.inn.com.quflip.response.OTP&gt; otpList = new ArrayList&lt;&gt;();
  
      private BottomSheetBehavior.BottomSheetCallback mBottomSheetBehaviorCallback = new BottomSheetBehavior.BottomSheetCallback() {
  
          @Override
          public void onStateChanged(@NonNull View bottomSheet, int newState) {
              if (newState == BottomSheetBehavior.STATE_HIDDEN) {
                  dismiss();
              }
  
          }
  
          @Override
          public void onSlide(@NonNull View bottomSheet, float slideOffset) {
          }
      };
  
      public static OTP newInstance(ArrayList&lt;demand.inn.com.quflip.response.OTP&gt; otpList) {
          OTP otp = new OTP();
          Bundle bundle = new Bundle();
          bundle.putParcelableArrayList(Consts.OTP_LIST, otpList);
          otp.setArguments(bundle);
          return otp;
      }
  
  
      @Override
      public void setupDialog(Dialog dialog, int style) {
          super.setupDialog(dialog, style);
          View contentView = View.inflate(getContext(), R.layout.fragment_otp, null);
          otpList = getArguments().getParcelableArrayList(Consts.OTP_LIST);
          otpAdapter = new OTPAdapter(getActivity(), otpList);
          recyclerView = (RecyclerView) contentView.findViewById(R.id.recycler_view);
          RecyclerView.LayoutManager mLayoutManager = new LinearLayoutManager(getActivity());
          recyclerView.setLayoutManager(mLayoutManager);
          recyclerView.setAdapter(otpAdapter);
          dialog.setContentView(contentView);
  //        dialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
          CoordinatorLayout.LayoutParams params = (CoordinatorLayout.LayoutParams) ((View) contentView.getParent()).getLayoutParams();
          CoordinatorLayout.Behavior behavior = params.getBehavior();
  
          if (behavior != null &amp;&amp; behavior instanceof BottomSheetBehavior) {
              ((BottomSheetBehavior) behavior).setBottomSheetCallback(mBottomSheetBehaviorCallback);
          }
  
      }
  
  }
  </code></pre>
  
  <p>fragment_otp.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="@android:color/transparent"
      android:orientation="vertical"&gt;
  
      &lt;RelativeLayout
          android:id="@+id/reviewLayout"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:background="@android:color/transparent"
          android:orientation="vertical"
          android:visibility="visible"&gt;
  
          &lt;android.support.v7.widget.RecyclerView
              android:id="@+id/recycler_view"
              android:layout_width="match_parent"
              android:layout_height="200dp"
              android:background="@android:color/transparent"
              android:clipToPadding="false"
              android:paddingTop="10dp" /&gt;
      &lt;/RelativeLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>card_otp.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="@android:color/transparent"
      android:orientation="vertical"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="50dp"
          android:background="@android:color/transparent"
          android:gravity="center_vertical"
          android:orientation="horizontal"
          android:paddingLeft="10dp"
          android:paddingRight="10dp"&gt;
  
          &lt;TextView
              android:id="@+id/truckName"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:text="Taco Bell"
              android:textColor="@color/colorGray" /&gt;
  
          &lt;LinearLayout
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:orientation="vertical"&gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_gravity="end|right"
                  android:text="OTP"
                  android:textColor="@color/colorGray"
                  android:textSize="12sp" /&gt;
  
              &lt;TextView
                  android:id="@+id/otp"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_gravity="end|right"
                  android:text="2256"
                  android:textColor="@color/colorRoyalPurple"
                  android:textSize="18sp" /&gt;
  
          &lt;/LinearLayout&gt;
      &lt;/LinearLayout&gt;
  
      &lt;View
          android:layout_width="match_parent"
          android:layout_height="2dp"
          android:layout_marginLeft="10dp"
          android:layout_marginRight="10dp"
          android:background="@color/colorMercuryE1" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>In my above code, I have already put transparent background , but still it is not working. I tried to do it programatically, but nothing works. Is there any method/flag through which I can achieve this? </p>