Top "Android-5.0-lollipop" questions

Android Lollipop, formerly known as just "Android L", was first shown at Google I/O 2014.

Android - "Parsing Data for android-21 failed"

Had the following error in Eclipse after installing Android 5.0 (SDK 21) "Loading data for Android 5.0" has encountered a problem. Parsing Data …

android eclipse adt eclipse-adt android-5.0-lollipop
getRunningTasks doesn't work in Android L

In Android L, Google has disabled getRunningTasks. Now it can only return own apps task and the home launcher. I …

android android-5.0-lollipop
DexIndexOverflowException issue after updating to latest appcompat and support library

I'm using the below settings through gradle: compileSdkVersion 21 ANDROID_BUILD_MIN_SDK_VERSION=14 ANDROID_BUILD_TARGET_SDK_VERSION=21 ANDROID_BUILD_…

android gradle android-5.0-lollipop android-support-library build.gradle
Android 5.0 android:elevation Works for View, but not Button?

In the Android 5.0 samples from the SDK Manager, there is the ElevationBasic sample. It shows two View objects: a circle …

android android-5.0-lollipop
How can I style the SearchView when using a Toolbar as an Action Bar?

I'm using a Toolbar as an Action Bar in my app using the AppCompat v21 library, as described in this …

android android-actionbar android-5.0-lollipop searchview android-toolbar
How to mimic the Material-design raised button style, even for pre-Lollipop (minus the special effects)?

Google has shown some nice ways that buttons are shown on Lollipop here. I'm talking about both the raised and …

android android-button android-5.0-lollipop material-design
android:Theme.Material.Light requires API level 21 (current min is 8)

I want to use Material Theme in my application which has minimum sdk version of 8. As per docs - "The …

android android-5.0-lollipop android-theme material-design
No ActionBar in PreferenceActivity after upgrade to Support Library v21

After I upgraded to the Support Library v21 my ActionBar in my PreferenceActivity is gone. Did I miss some attributes …

android android-support-library preferenceactivity android-5.0-lollipop
Toolbar icon tinting on Android

I've noticed that using AppCompat themes, default toolbar icons get tinted by the attribute colorControlNormal in my style. <style …

android android-5.0-lollipop android-toolbar android-icons
Android L ripple touch effect on shape?

I have a rounded rectangle with elevation that casts a shadow, just like in the example here: http://developer.android.…

android android-5.0-lollipop