title: Don't displayed MaterialButton in DialogFragment Android7
body: <p>I have custom DialogFragment. This dialog have some message and round button <br>
  On Android 8-10 all work correct, but Android 5-7 I don't see button, only buttons text
  I try create layout with one button, result same  <br></p>
  <pre><code>&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
  xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
  xmlns:tools=&quot;http://schemas.android.com/tools&quot;
  android:layout_width=&quot;match_parent&quot;
  android:layout_height=&quot;match_parent&quot;&gt;
  
  &lt;com.google.android.material.button.MaterialButton
      style=&quot;@style/ButtonOk&quot;
     android:layout_height=&quot;wrap_content&quot;
      android:text=&quot;Button text&quot;
      android:textColor=&quot;@color/colorTextBlack&quot;
      app:cornerRadius=&quot;20dp&quot;
      app:elevation=&quot;32dp&quot;
      app:backgroundTint=&quot;@android:color/holo_green_light&quot;
      app:strokeColor=&quot;@android:color/holo_red_dark&quot;
      app:strokeWidth=&quot;1dp&quot; /&gt;
  </code></pre>
  
  <pre><code>    &lt;style name=&quot;ButtonOk&quot; parent=&quot;Widget.MaterialComponents.Button&quot;&gt;
      &lt;item name=&quot;android:layout_marginTop&quot;&gt;28dp&lt;/item&gt;
      &lt;item name=&quot;android:layout_marginBottom&quot;&gt;32dp&lt;/item&gt;
      &lt;item name=&quot;android:layout_width&quot;&gt;200dp&lt;/item&gt;
      &lt;item name=&quot;android:letterSpacing&quot;&gt;0&lt;/item&gt;
      &lt;item name=&quot;android:textSize&quot;&gt;17sp&lt;/item&gt;
      &lt;item name=&quot;android:textAllCaps&quot;&gt;false&lt;/item&gt;
      &lt;item name=&quot;cornerRadius&quot;&gt;20dp&lt;/item&gt;
      &lt;item name=&quot;strokeColor&quot;&gt;@color/colorAccent&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  <p>What wrong? Why this don't work correct on Android 5-7<br></p>
  <p>it seems to me that on younger versions the backgroundTint and strokeColor parameters is ignored <br></p>
  <p>Moreover, if I insert the same button in the layout of the fragment, then the button will be displayed normally</p>
  <p>=====Added==== <br>
  In my dialog I have transparent background</p>
  <pre><code>override fun onCreate(savedInstanceState: Bundle?) {
      super.onCreate(savedInstanceState)
      setStyle(DialogFragment.STYLE_NORMAL, R.style.MyDialogTheme)
  }
  
  &lt;style name=&quot;MyDialogTheme&quot;&gt;
      &lt;item name=&quot;android:background&quot;&gt;#00ffffff&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  <p>If I comment setStyle(DialogFragment.STYLE_NORMAL, R.style.MyDialogTheme), button displayed, but my dialog is no longer transparent</p>