title: How to override attributes of a style in a android view
body: <p>I am wondering how to override style attributes of a referenced style. Doing it by simply placing the attributes does not seem to be a solution - See <code>insetLeft</code>. That property is part of material button view itself, but setting the property has no impact on the style.</p>
  <p>my layout</p>
  <pre><code>&lt;LinearLayout
      xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      android:clickable=&quot;true&quot;
      style=&quot;@style/Widget.MaterialComponents.Button.TextButton&quot;
      android:orientation=&quot;horizontal&quot;
      android:insetLeft=&quot;0dp&quot;
      android:insetRight=&quot;0dp&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;wrap_content&quot;&gt;
      &lt;TextView
          android:id=&quot;@+id/serverIp&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;/&gt;
      &lt;TextView
          android:id=&quot;@+id/serverLastContact&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>