android-elevation Questions
3
Solved
I'm migrating an Android App to use Material Design. To verify if I did everything correct i create an empty activity to test some Material Design itens (FAB, raised button, elevation on views, car...
Dihydrostreptomycin asked 11/2, 2016 at 18:4
9
Solved
I have a layout XML:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
and...
Brood asked 30/12, 2015 at 6:7
5
Solved
I am trying to make a button that has a shadow using elevation with a background image being my sign in with gmail png. The button is contained within a relative layout. The elevation won't show no...
Euhemerize asked 14/6, 2017 at 6:54
23
Solved
I have a ListView, and with each list item I want it to show a shadow beneath it. I am using Android Lollipop's new elevation feature to set a Z on the View that I want to cast a shadow, and am alr...
Cleodel asked 15/12, 2014 at 4:29
9
This question was asked on SO many times, but still I didn't find a good solution for this problem.
Why do I need this to do? Well because project me and my team develops has iOS style.
What did ...
Vorfeld asked 23/6, 2018 at 14:3
3
Solved
I created a "Basic Activity" with Android Studio and attempted to create an elevation shadow on an API 28 Pixel device, using the answer from toolbar-not-showing-elevation-in-android-9-api-28. Howe...
Hermitage asked 17/7, 2019 at 0:5
4
Solved
When I try to set a specific value to elevation for AppBarLayout, the shadow disappears completely.
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:la...
Dedradedric asked 16/8, 2017 at 0:34
8
Solved
Hi i need add shadow under my tab layout (like in skype).
My activity xml:
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.suppo...
Jarman asked 8/1, 2016 at 11:17
2
Solved
The elevation style attribute enables box-shadows for Android 5.0+.
Am I doing something unusual with 'elevation' here to cause the ugliness that can be seen in the screenshot below? Also, is ther...
Caveator asked 16/6, 2016 at 20:35
6
Solved
From what I understand, early in the preview stage there seemed to be no way to set elevation in XML only on CardViews without a hack in Java. Now that the official release is out, is there any way...
Ben asked 18/11, 2014 at 14:49
5
Solved
I am using 'com.android.support:cardview-v7:23.4.0' and I see the shadow but is not a dark grey shadow, and I would like to get a darker elevation shadow, but I do not see any attribute to get it, ...
Efrem asked 28/8, 2017 at 8:4
6
CardView elevation works fine when tested in a separate application, but when the same code for the cardView is used to craft items of a RecyclerView, the elevation no longer appears.
Here is the ...
Cyrilcyrill asked 5/8, 2017 at 9:15
2
Solved
I have a custom view which displays a star shape by using a path. This view works as expected, but now I want to shift it's implementation to the new Google Material recommendation.
Unfortunately ...
Adherence asked 20/12, 2014 at 3:20
8
Elevation for ImageView is not working. I declared ImageView in XML like this:
<ImageView
android:id="@+id/image"
android:layout_width="100dp"
android:layout_height="50dp"
android:elevation...
Rowboat asked 4/6, 2015 at 9:57
0
I have a View that I want to use an SVG/Vector as it's background. So it's not a perfect square, rounded, or any basic shape. I would like a drop shadow to surround the background, but it isn't wor...
Tryma asked 8/8, 2019 at 19:40
1
Solved
In my app, the Toolbar is not showing shadow at its bottom, my target API is from Android 6 M to Android 9 P, I am testing my app on device having Android 9 Pie.
There is a same question here but ...
Jimmie asked 29/6, 2019 at 14:25
2
Solved
I'm using animation between my fragment :
slide in from left :
<?xml version="1.0" encoding="utf-8"?>
<set>
<objectAnimator
xmlns:android="http://schemas.android.com/apk/res/andro...
Bathtub asked 12/4, 2017 at 20:21
2
How can I show elevations in a view with shadows using ConstraintLayout?
With Relative and Linear could perform elevations with shadows to implement list but I can not do it with ConstraintLayout....
Uigur asked 24/4, 2017 at 11:14
3
Solved
I have FrameLayout with android:elevation="4dp". Shadow of this elevation directed down. I want change direction of shadow to up.
<FrameLayout
android:id="@+id/container"
android:layout_width...
Orthoclase asked 20/9, 2015 at 9:25
2
Solved
Is there a way for AppBarLayout to no drop shadow and keep its elevation?
<android.support.design.widget.AppBarLayout
app:elevation="0dp">
Saideman asked 9/12, 2017 at 12:12
0
I have this layout :
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://sc...
Bookseller asked 14/1, 2019 at 0:58
4
Solved
I'm trying to use "android: elevation =" in my application but once I run it does not appear in the device with android 4.1.2
gradle
apply plugin: 'com.android.application'
android {
compileSdk...
Salcido asked 29/12, 2014 at 18:7
1
I want to show the same elevation effect on my toobar on a KitKat device as seen on a Lollipop device. Below are screenshots for both the KitKat and Lollipop devices. I have referred to this link b...
Spirelet asked 20/7, 2016 at 8:58
1
I'm generating the bitmap of a view to show it as a marker on the Map. It is working fine but the issue that i'm facing is that elevation of the view is not showing.
private Bitmap getMarkerBitma...
Holmic asked 13/6, 2018 at 7:24
3
Any idea why RecyclerView items get deformed , each consecutive item gets worse?
UPDATE: I'm using CardViews and now there's no view "deformation" but the shadow/elevation height changes.
It seem...
Isagogics asked 5/3, 2017 at 13:3
1 Next >
© 2022 - 2024 — McMap. All rights reserved.