I am trying put image exactly with the back button of toolbar. But i don't know how to achieve it. The closest i got was this :
but this is not nearly what i want. I want it exactly with the back button meaning that the back button and the image combined should be equal to the back button. So how do i achieve this??
my code was pretty simple :
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
setSupportActionBar(toolbar);
toolbar.setLogo(ContextCompat.getDrawable(mContext, R.drawable.group_image));
So can someone please help me.