title: Use different style for same item for different activity in android studio (Please read description)
body: <p>I am working on a project wherein I want to use <code>BottomSheetDialog</code> in different activities. But for different activities I want the Dialog to have diffrent background drawable. I have set the background drawable in <code>themes.xml</code> but that makes the drawable to be applicable for <code>BottomSheetDialog</code> for the entire app, i.e, it gets applied successfully but it is constant for all activities. What I want is for diffrent activites it must have different background drawable.</p>
  <p>This is what my <code>themes.xml</code> looks like:</p>
  <pre><code>&lt;resources xmlns:tools=&quot;http://schemas.android.com/tools&quot;&gt;
     &lt;style&gt;
      &lt;!-- Base application theme. --&gt;
           ...
           ...
          &lt;!-- Customize your theme here. --&gt;
  
          &lt;item name=&quot;bottomSheetDialogTheme&quot;&gt;@style/AppBottomSheetDialogTheme&lt;/item&gt;
  
      &lt;/style&gt;
  
      &lt;style name=&quot;AppBottomSheetDialogTheme&quot;
          parent=&quot;Theme.Design.Light.BottomSheetDialog&quot;&gt;
          &lt;item name=&quot;bottomSheetStyle&quot;&gt;@style/AppModalStyle&lt;/item&gt;
      &lt;/style&gt;
  
      &lt;style name=&quot;AppModalStyle&quot;
          parent=&quot;Widget.Design.BottomSheet.Modal&quot;&gt;
          &lt;item name=&quot;android:background&quot;&gt;@drawable/top_rounded_corners&lt;/item&gt;  &lt;!-- I want to change the backgroundDrawable here. --&gt;
      &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>
  <p>Is there a way I can change drawable depending on the activity I am on. I thought of using <code>AndroidManifest.xml</code> but I am not sure how can I achieve this.
  Any help is appreciated. Thank You.</p>