[ExtendedFloatingActionButton] app:elevation="0dp" is invalid
See original GitHub issueDescription: app:elevation=“0dp” is invalid
Expected behavior: the same as FloatingActionButton
Source code:
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/floatingActionButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:elevation="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:elevation="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/floatingActionButton" />
Android API version: API 29
Material Library version: ‘com.google.android.material:material:1.3.0’
Device: Pixel 2(virtual machine)
Preview

Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
FloatingActionButton with text instead of image - Stack Overflow
The most common Error, in this case, is an attempt to add text with FloatingActionButton. This is not how FAB is designed. Use...
Read more >ExtendedFloatingActionButton - Android Developers
Sets whether the associated ExtendedFloatingActionButton automatically shrink when there is not enough space to be displayed. Protected methods. void ...
Read more >Quick Tips to Start Using ExtendedFloatingActionButton
This article will provide you with the base knowledge & usage tips for adding Extended FAB to your project. Today we're going to...
Read more >How to add Extended Floating Action Button in Android | Java
Extended Floating Action Button is the newly introduced class ... isAllFabsVisible = false; // Set the Extended floating action button to
Read more >Extended Floating Action Button in Android with Example
Steps for Creating Extended Floating Action Button. Step 1: Create a New Project ... protected void onCreate(Bundle savedInstanceState) {.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ahh i see. Thanks @SashaCube @rianlu.
I’ll close the issue for now due to it’s sort of working as intended and we have a reliable way to bypass it. : )