Fix Material3 button shape (#2121)
Co-authored-by: Howard Wu <40033067+Howard20181@users.noreply.github.com>
This commit is contained in:
parent
9db3fb2239
commit
c1aa00e71b
|
|
@ -82,7 +82,6 @@
|
|||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/view_assets"
|
||||
style="@style/Widget.MaterialComponents.Button.Icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
|
|
@ -96,7 +95,7 @@
|
|||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/open_in_browser"
|
||||
style="@style/Widget.App.Button.OutlinedButton.IconOnly"
|
||||
style="?attr/materialIconButtonOutlinedStyle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="6dp"
|
||||
|
|
|
|||
|
|
@ -67,11 +67,4 @@
|
|||
<item name="android:paddingBottom">24dp</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.App.Button.OutlinedButton.IconOnly" parent="Widget.Material3.Button.OutlinedButton">
|
||||
<item name="iconPadding">0dp</item>
|
||||
<item name="android:paddingLeft">@dimen/mtrl_btn_icon_btn_padding_left</item>
|
||||
<item name="android:paddingRight">@dimen/mtrl_btn_icon_btn_padding_left</item>
|
||||
<item name="android:minWidth">36dp</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Reference in New Issue