leinardi / FloatingActionButtonSpeedDial

A Floating Action Button Speed Dial implementation for Android that follows the Material Design specification (https://material.io/components/buttons-floating-action-button#types-of-transitions)
Apache License 2.0
1.46k stars 140 forks source link

Elevation not computed #170

Open PhantomLord72 opened 3 years ago

PhantomLord72 commented 3 years ago

Step 1: Are you in the right place?

Step 2: Describe your environment

Step 3: Describe the problem:

Steps to reproduce:

  1. in AS 4.2.1 load the release sources (app+sample), it runs fine
  2. in the library, change the elevation of the label sd_label_container to app:cardElevation="15dp"
  3. run the sample, click on the main fab

Observed Results:

All the labels of SpeedActionItems are corrupted

Expected Results:

A bigger shadow on the text labels

Relevant Code:

leinardi commented 3 years ago

Hi, to avoid the issue you are experiencing, you can change the app:cardUseCompatPadding from true to false.