Color of animated ActionBarDrawerToggle in ActionBar

This should work.. <style name=”DrawerArrowStyle” parent=”Widget.AppCompat.DrawerArrowToggle”> <item name=”spinBars”>true</item> <item name=”color”>@color/your_color</item> </style> and in your parent theme.. <style name=”AppTheme” parent=”AppBaseTheme”> <item name=”drawerArrowStyle”>@style/DrawerArrowStyle</item> . . . </style>

Android 5.0 (L) Service Intent must be explicit in Google analytics

If you’re trying to use Google’s Licensing mechanism, solution that worked for me: // explicit Intent, safe Intent serviceIntent = new Intent(ILicensingService.class.getName()); serviceIntent.setPackage(“com.android.vending”); boolean bindResult = mContext.bindService(serviceIntent, this, Context.BIND_AUTO_CREATE); This is located in com/google/android/vending/licensing/LicenseChecker.java. Do a search for “Base64.decode(“ Edit: Adding reference to Google Licensing java file that has to be patched: com.google.android.vending.licensing.LicenseChecker.checkAccess(LicenseChecker.java:150) patch: new … Read more

android lollipop toolbar: how to hide/show the toolbar while scrolling?

As far as I know there is nothing build in that does this for you. However you could have a look at the Google IO sourcecode, especially the BaseActivity. Search for “auto hide” or look at onMainContentScrolled In order to hide the Toolbar your can just do something like this: toolbar.animate().translationY(-toolbar.getBottom()).setInterpolator(new AccelerateInterpolator()).start(); If you want … Read more