Top "Android-appcompat" questions

The App Compat Support Library package contains several libraries that can be included in your application.

How to set ImageButton property of app:srcCompat="@drawable/pic" programmatically?

How to set the ImageButton property of app:srcCompat="@drawable/pic" programmatically? Something like myImageButton.setBackgroundResource(R.drawable.eng2); but …

android android-appcompat android-imagebutton
How to use android:Theme.Material (Material theme) in styles.xml android?

In my application, I am trying to implement android:Theme.Material as a parent theme in styles values-21 folder: <!…

android material-design android-appcompat android-theme android-styles
How to add shadow to the FAB provided with the android support design library?

The title is pretty self explaining. The following code does not render shadow below the Floating Action Button. What can …

android floating-action-button android-design-library android-appcompat
getActionBar() returns Null (AppCompat-v7 21)

My app is crashing the minute I run it after I changed my AppCompat-v7 to 21.0.0 and Compiled with no problem. …

android nullpointerexception android-appcompat
Cannot resolve symbol 'Theme.AppCompat.Light.DarkActionBar' in styles.xml

Theme.AppCompat.Light.DarkActionBar is not compiling in styles.xml. I have added compile 'com.android.support:appcompat-v7:25.1.0' in …

android gradle themes android-appcompat
Status Bar Color not showing - 5.0 Lollipop Android Studio: (AppCompat-v7:r21)

I'm using the AppCompat-v7:21.0.0 support library for Android 5.0 Lollipop in Android Studio. My problem is that the Status Bar Color …

android android-studio statusbar android-5.0-lollipop android-appcompat
Dynamically change height of BottomSheetBehavior

I'm using the BottomSheetBehavior from Google recently released AppCompat v23.2. The height of my bottom sheet depends on the content …

android android-appcompat
Cannot add android.support.v7 to my project build path

I am trying to add android-support-v7-appcompat to my project build path: This is what I have done: Right-click on …

android eclipse android-support-library buildpath android-appcompat
CoordinatorLayout with RecyclerView & CollapsingToolbarLayout

I've been attempting to implement a CollapsingToolbar with a RecyclerView using the small amount of guidance here: http://android-developers.blogspot.…

java android xml android-appcompat android-design-library
AppcompatActivity Error with Android studio

I'm getting this error when building android application with Android studio : 24192-24192/com.mkapp.apps.demo1 W/dalvikvm﹕ VFY: unable …

android android-studio android-appcompat appcompatactivity