My application\'s main icon consists of two parts in one image: a logo and a few letters below it. This works well for the launcher icon for the app, but when the icon appea
creating logo
in folders "drawable-...
" create in all of them logo.png
.
The location of the folders: [YOUR APP]\app\src\main\res
In AndroidManifest.xml add line: android:logo="@drawable/logo"
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:logo="@drawable/logo"
...
that's it.
Please try this line
getSupportActionBar().setHomeAsUpIndicator(R.drawable.back_arrow);