[SOLVED] CardView not showing Shadow in Android L

Issue My Cardview inside Listview is not showing shadow in Android L(Nexus 5). Also the round edges are not properly shown. Here is the code for Listview’s Adapter View : <?xml version=”1.0″ encoding=”utf-8″?><LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:tools=”http://schemas.android.com/tools” xmlns:card_view=”http://schemas.android.com/apk/res-auto” xmlns:app=”http://schemas.android.com/apk/res/com.example.myapp” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:orientation=”vertical”

Continue reading

[SOLVED] Android XML: android:elevation vs. app:elevation

Issue When do I use android:elevation and when app:elevation? What’s the difference between those two? Solution Hope I can help, Let’s talk with an example: <android.support.design.widget.FloatingActionButton android:layout_height=”wrap_content” android:layout_width=”wrap_content” … android:elevation=”@dimen/elevation_medium” /> The android:elevationattribute will work from the API level 21

Continue reading