mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
Make FABs clickable and focusable by default.
PiperOrigin-RevId: 169163245
This commit is contained in:
parent
47bb0cd722
commit
148ccc4274
@ -18,6 +18,8 @@
|
||||
|
||||
<style name="Widget.Design.FloatingActionButton" parent="android:Widget">
|
||||
<item name="android:background">@drawable/design_fab_background</item>
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="backgroundTint">?attr/colorAccent</item>
|
||||
<item name="fabSize">auto</item>
|
||||
<item name="elevation">@dimen/design_fab_elevation</item>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user