FloatingActionButtonSpeedDial icon indicating copy to clipboard operation
FloatingActionButtonSpeedDial copied to clipboard

Elevation not computed

Open PhantomLord72 opened this issue 4 years ago • 1 comments

Step 1: Are you in the right place?

  • [x] I have verified there are no duplicate active or recent bugs, questions, or requests
  • [x] I have verified that I am using the latest version of the library.

Step 2: Describe your environment

  • Library version: 3.2.0
  • Android version: 10
  • Support library version:
  • Device brand: samsung
  • Device model: A20

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:

PhantomLord72 avatar Jun 02 '21 09:06 PhantomLord72

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

leinardi avatar Jun 05 '21 08:06 leinardi