You can set the size of the home icon as follows: (just call the code below inside the Activity onCreate(...)
method)
ImageView ivIcon = (ImageView) findViewById(android.R.id.home); FrameLayout.LayoutParams lpIcon = (FrameLayout.LayoutParams) ivIcon.getLayoutParams(); lpIcon.topMargin = lpIcon.bottomMargin = yourmargin; lpIcon.leftMargin = lpIcon.rightMargin = yourmargin; ivIcon.setLayoutParams(lpIcon);
Its kind of hack , but I used it to completely get rid of the field by setting it to 0.
source share