Android Studio – How to add Text in a custom action bar for Android
I am able to create an actionbar with a custom back button as such: // Calling the action bar ActionBar actionBar = getSupportActionBar(); // Customize the back button actionBar.setHomeAsUpIndicator(R.drawable.ic_baseline_arrow_back_24); // Showing the back button in action bar actionBar.setDisplayHomeAsUpEnabled(true); What I…