Skip to content Skip to sidebar Skip to footer
Showing posts with the label Android Appcompat

How To Set Navigationicon On Toolbar ("java.lang.classcastexception" Error)

I want to have a back button on my toolBar, but I am stuck with this error: java.lang.ClassCastEx… Read more How To Set Navigationicon On Toolbar ("java.lang.classcastexception" Error)

Using Drawablecompat Class To Apply A Tintlist

Decided to try the new DrawableCompat class. Following instructions from a reliable source, I'm… Read more Using Drawablecompat Class To Apply A Tintlist

Dumping Appcompat For Api 21

So I'm creating an app that is Lollipop 5.0 API 21 and up with zero interest in supporting olde… Read more Dumping Appcompat For Api 21

Appcompat Actionbar Styling

I'm currently trying to use AppCompat instead of ActionbarSherlock. On Android 4+ devices I don… Read more Appcompat Actionbar Styling

Robolectric 3.0 Not Working With Appcompat 21+

After upgrading to AppCompat 21, a lot of our Robolectric tests fail. It looks like there is an iss… Read more Robolectric 3.0 Not Working With Appcompat 21+

How Can I Restore The Default Status Bar Color?

In one of my activities, I don't want the status bar to have any color. I want it to stay in wh… Read more How Can I Restore The Default Status Bar Color?

How To Avoid Dex 64k Limit By Importing The Right Library

I had this issue where I overflow the 64k method limit in Dalvik when compiling all the library I u… Read more How To Avoid Dex 64k Limit By Importing The Right Library

How To Install Repository Com.android.support:appcompat-v7

I have an error in my gradle script: In my app (gradle) I have: buildToolsVersion '25.0.2'… Read more How To Install Repository Com.android.support:appcompat-v7