Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Please add example usage on using Shadow Elevation and Shadow Layer #15

Open
bond- opened this issue Jun 29, 2018 · 1 comment
Open

Comments

@bond-
Copy link

bond- commented Jun 29, 2018

https://codelabs.developers.google.com/codelabs/mdc-103-swift/ says it covers shadow elevation but doesn't have those details anywhere in text.

@BigDada1
Copy link

To set the next button's elevation, add in LoginViewController.swift this code after the button color styling:
self.nextButton.setElevation(.cardResting, for: .normal)

Additional documentation about shadow elevation can be found at https://material.io/develop/ios/components/shadows/shadow-elevations/

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

No branches or pull requests

2 participants