How to reduce the size of an item'а so that its size is limited by its content?
<menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <item android:id="@+id/add_file" android:icon="@drawable/ic_plus_1" android:title="Add..." app:showAsAction="always"/> <item android:icon="@drawable/ic_video2" android:title="Photo" app:showAsAction="always" android:id="@+id/photo_ic"/> That's how I add it
@Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { //super.onCreateOptionsMenu(menu, inflater); inflater.inflate(R.menu.add_file, menu); Title content does not fit entirely into ActionBar due to the menu I added.
