Top "Android-elevation" questions

Android elevation is a feature introduced in Android Lollipop 5.0, is part of new Google Material Design Recommendation.

How to change direction of android elevation shadow?

I have FrameLayout with android:elevation="4dp". Shadow of this elevation directed down. I want change direction of shadow to …

android xml shadow android-framelayout android-elevation
Change Elevation of ActionBar by theme

I want to remove the shadow below the ActionBar. I know that I need to change the elevation to 0dp, …

android android-actionbar android-5.0-lollipop android-elevation
Android ScrollView clipping child elevation shadow

As the title states, I'm trying to put a CardView inside a ScrollView, but the CardView elevation shadow is being …

android android-scrollview android-elevation
Difference between elevation and translationZ

I tried both features and I don't know really why I should use elevation instead of translationz or viceversa. Both …

android comparison android-elevation
How to show the shadow of the ActionBar&Toolbar of the support library on all Android versions?

This is a simple question: I use the new support library, which allows me to have a Toolbar instance and …

android android-actionbar android-support-library android-elevation
Android - CardView elevation shadow make darker

I am using 'com.android.support:cardview-v7:23.4.0' and I see the shadow but is not a dark grey shadow, …

android android-cardview android-elevation
How to bring imageView in front of cardview ? When both are of Relative Layout childs

I have a layout XML: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/…

android android-cardview android-elevation
View with elevation and shadow in ConstraintLayout

How can I show elevations in a view with shadows using ConstraintLayout? With Relative and Linear could perform elevations with …

shadow android-constraintlayout android-elevation
Android elevation of View in CardView is not shown

I have a RelativeLayout inside a CardView that i want to elevate in Android Lollipop but the elevation is not …

android android-5.0-lollipop material-design android-cardview android-elevation
android:elevation doesn't work in L preview

I've been playing with the L preview for a few days, and one thing that doesn't seem to work is …

android android-5.0-lollipop android-elevation