问题描述
我在布局中使用FAB,但看起来很奇怪。我尝试使用无效的重播缓存,但没有任何反应。
这是我的xml:
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/right_arrow"
android:layout_marginBottom="20dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintRight_toRightOf="parent"/>
这是它在布局编辑器中的外观:
这是它在模拟器中的外观
更新:
材料版本:1.2.0
主题:Theme.MaterialComponents.DayNight.NoActionBar
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)