为什么扩展晶圆厂不起作用?有任何想法吗?

问题描述 投票:0回答:1

我正在尝试为我的活动运行扩展FAB,请参见下面的屏幕截图。它只是不想运行。在我的活动xml中,我按如下方式使用ist:

<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        ads:layout_constraintBottom_toTopOf="@+id/create_ad_view"
        ads:layout_constraintEnd_toEndOf="parent"
        ads:layout_constraintStart_toStartOf="parent"
        ads:layout_constraintTop_toBottomOf="@+id/create_title_et"
        app:icon="@drawable/ic_check"
        style="@style/Widget.MaterialComponents.ExtendedFloatingActionButton.Icon"/>

顺便说一下,我使用了不同的资源和教程,甚至使用了Material Design的官方网站,其中都包含使用扩展FAB的一些细节。这是我的dependency

implementation 'com.google.android.material:material:1.0.0'

[请协助寻找解决方案。

enter image description here

android material-design floating-action-button material-components material-components-android
1个回答
0
投票

ExtendedFloatingActionButton1.1.0-alpha04一起释放。

使用

1.1.0-alpha04
© www.soinside.com 2019 - 2024. All rights reserved.