remove padding around action bar left icon on Android 4.0+
Digging into AOSP sources, it seems the code involved is in com.android.internal.widget.ActionBarView.java. In particular the relevant part is the onLayout() method of the inner class ActionBarView$HomeView, partially reported below (lines 1433-1478): @Override protected void onLayout(boolean changed, int l, int t, int r, int b) { … final LayoutParams iconLp = (LayoutParams) mIconView.getLayoutParams(); final int iconHeight … Read more