title: How to set theme in fragment extends BottomSheetDialogFragment?
body: <p>I have an app in which i have a MainActivity which contains a fragment that extends BottomSheetDialogFragment. What I want to set fragment theme but it remains same.Pls help </p>
  
  <p>Code for fragment that extends BottomSheetDialogFragment:-</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:id="@+id/bottomSheet"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical"
  android:theme="@style/CoffeeDialog"&gt;
  
  &lt;de.hdodenhof.circleimageview.CircleImageView
      android:id="@+id/img_Camera"
      android:layout_width="50dp"
      android:layout_height="50dp"
      android:layout_gravity="center_horizontal|bottom"
      android:layout_marginTop="10dp"
      android:src="@drawable/amazon"
      app:civ_border_color="@color/textColor"
      app:civ_border_width="5dp"
      app:civ_fill_color="@color/colorPrimary" /&gt;
  
  &lt;android.support.v7.widget.RecyclerView
      android:id="@+id/notification_list"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_marginTop="8dp" /&gt;
  
  &lt;FrameLayout
      android:layout_width="wrap_content"
      android:layout_height="30dp"&gt;
  
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>here i am using android:theme="@style/CoffeeDialog" but it's not working.</p>
  
  <p>Code for theme:-</p>
  
  <pre><code>  &lt;style name="CoffeeDialog" parent="Theme.Design.Light.BottomSheetDialog"&gt;
      &lt;item name="android:windowCloseOnTouchOutside"&gt;false&lt;/item&gt;
      &lt;item name="android:windowIsTranslucent"&gt;true&lt;/item&gt;
      &lt;item name="android:windowContentOverlay"&gt;@null&lt;/item&gt;
      &lt;item name="android:colorBackground"&gt;@android:color/transparent&lt;/item&gt;
      &lt;item name="android:backgroundDimEnabled"&gt;true&lt;/item&gt;
      &lt;item name="android:backgroundDimAmount"&gt;0.3&lt;/item&gt;
      &lt;item name="android:windowFrame"&gt;@null&lt;/item&gt;
      &lt;item name="android:windowIsFloating"&gt;true&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>Note:- I only want to change fragment theme, not MainActivity.</p>