-
Notifications
You must be signed in to change notification settings - Fork 375
Elevation Attribute
ZieIony edited this page May 7, 2015
·
1 revision
Methods: View.get/setElevation(float)
Type: dimension
Valid values: 0 - 8dp
Used for specifying elevation values for views. Each view with non-zero elevation value cast a shadow. Elevation will be clamped internally to [0,25]. Higher and negative values are not supported.
Carbon offers several elevation - related constants:
- carbon_elevationFlat = 0dp
- carbon_elevationMin = 2dp
- carbon_elevationMedium = 4dp
- carbon_elevationHigh = 6dp
- carbon_elevationMax = 8dp
Copyright 2015 Marcin Korniluk 'Zielony'