Use default height for extended FAB (closes #3949)

This commit is contained in:
arkon 2020-10-18 10:21:03 -04:00
parent 832a4fa68e
commit 538c168641
2 changed files with 4 additions and 2 deletions

View file

@ -73,7 +73,10 @@
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton <com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
android:id="@+id/root_fab" android:id="@+id/root_fab"
style="@style/Theme.Widget.FAB" style="@style/Theme.Widget.FAB"
android:visibility="gone" /> android:visibility="gone"
tools:icon="@drawable/ic_add_24dp"
tools:text="Action"
tools:visibility="visible" />
<com.google.android.material.bottomnavigation.BottomNavigationView <com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_nav" android:id="@+id/bottom_nav"

View file

@ -129,7 +129,6 @@
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item> <item name="android:layout_width">wrap_content</item>
<item name="fabCustomSize">@dimen/fab_size</item> <item name="fabCustomSize">@dimen/fab_size</item>
<item name="android:minHeight">@dimen/fab_size</item>
<item name="android:minWidth">@dimen/fab_size</item> <item name="android:minWidth">@dimen/fab_size</item>
<item name="android:layout_gravity">bottom|end</item> <item name="android:layout_gravity">bottom|end</item>
<item name="android:layout_margin">@dimen/fab_margin</item> <item name="android:layout_margin">@dimen/fab_margin</item>