I'm using AppCompat ver 22 and I want to achieve the same look and feel for pre lollipop devices.
My styles.xml file looks like that:
<style name="YesNoAppTheme" parent="Theme.AppCompat.Light">
<item name="colorPrimary">@color/ActionBarBackground</item>
<item name="colorPrimaryDark">#0094b8</item>
</style>
and I'm setting this after onCreate:
getSupportActionBar().setElevation(DisplayUtilities.dpsToPixels(this, 4));
furthermore, I'm using a custom action bar like this:
getSupportActionBar().setDisplayShowCustomEnabled(true);
getSupportActionBar().setCustomView(R.layout.base_action_bar_menu_layout);
and the devices look like that (left 4.4, right 5):
I want to get the size shadow size in 4.4 and the status bar colouring. Is that possible?
Thanks