-3
Starting with API 15, the positioning of these elements are encoded according to the capabilities of the layout. An alternative would be to use a custom toolbar to create your own navigation and hide the internal.
Also for some cases, it works you instantiate the android.R.id.home
in this way:
ImageView viewHome = (ImageView) findViewById(android.R.id.home);
if (viewHome != null){
viewHome.setPadding(10, 0, 0, 0);
}
Note: The above code is a supposed solution of this answer in the Soen.