Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elevation not computed #170

Open
2 tasks done
PhantomLord72 opened this issue Jun 2, 2021 · 1 comment
Open
2 tasks done

Elevation not computed #170

PhantomLord72 opened this issue Jun 2, 2021 · 1 comment

Comments

@PhantomLord72
Copy link

Step 1: Are you in the right place?

  • I have verified there are no duplicate active or recent bugs, questions, or requests
  • 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:

@leinardi
Copy link
Owner

leinardi commented Jun 5, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants