mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 06:31:52 +01:00
Tweak FAB sizing method (fixes #2398)
Ref: https://stackoverflow.com/questions/56945314/floating-action-button-fab-icon-size-problems-after-migrating-to-sdk-28
This commit is contained in:
parent
c90f985fcc
commit
2bb903088e
@ -137,8 +137,9 @@
|
|||||||
<style name="Theme.Widget" />
|
<style name="Theme.Widget" />
|
||||||
|
|
||||||
<style name="Theme.Widget.FAB">
|
<style name="Theme.Widget.FAB">
|
||||||
<item name="android:layout_height">@dimen/fab_size</item>
|
<item name="android:layout_height">wrap_content</item>
|
||||||
<item name="android:layout_width">@dimen/fab_size</item>
|
<item name="android:layout_width">wrap_content</item>
|
||||||
|
<item name="fabCustomSize">@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>
|
||||||
<item name="android:scaleType">fitCenter</item>
|
<item name="android:scaleType">fitCenter</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user