Published in


Mastering Shadows in Android

Material design axis system
Sample application diagram shows component elevation along its Z-axis
Intersect two view
There are two lights in android framework
You can find elevation value on the left side
ViewPropertyAnimator animates Translation Z property

Defines a simple shape, used for bounding graphical regions.

Can be computed for a View, or computed by a Drawable, to drive the shape of shadows cast by a View, or to clip the contents of the View.

Scaling layout now supports elevation (with custom ViewOutlineProvider)

The (retired) Pub(lication) for Android & Tech, focused on Development

Recommended from Medium

Why You Need a ‘.ETH’ Domain Name

ProofHub Makes It To The Capterra Top 20 Most Popular Software List

Test SignalR Performance with JMeter

Mac Xcode and C++ — Project/Programs Management

The Self-Taught Developer Relations Engineer

Static Pods in Kubernetes

An Open-Source Map for Everyone

How to Deploy Python App on a Remote Server with Pyinfra

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Software Engineer at Storytel

More from Medium

Seekbar android kotlin

MVVM Unit testing on Android — Howtodoandroid

Enhancing Android Game Development with Play Asset Delivery