Максимум, что удалось - это увидеть 2 строчки в самом ActionBar когда ставил параметр
app:showAsAction="always" - там эти две строчки хорошо выползают
но при app:showAsAction="never" - тишина - пустой пункт меню, два друга как партизаны спрятались
Вот menu XML
[syntax=xml]<menu xmlns:android="
http://schemas.android.com/apk/res/android"
xmlns:app="
http://schemas.android.com/apk/res-auto"
xmlns:tools="
http://schemas.android.com/tools"
tools:context="ru.po_mo.plasmacalculator.app.MainActivity">
<item android:id="@+id/menu_item_torch"
app:actionLayout="@layout/custom_menu_item"
android:orderInCategory="100"
app:showAsAction="never"/>
<item android:id="@+id/menu_item_units"
android:title="@string/menu_units"
android:orderInCategory="100"
app:showAsAction="never" />
<item android:id="@+id/menu_item_feed"
android:title="@string/menu_feed"
android:orderInCategory="100"
app:showAsAction="never" />
<item android:id="@+id/menu_item_buy"
android:title="@string/menu_buy_full"
android:orderInCategory="100"
app:showAsAction="never" />
<item android:id="@+id/menu_item_about"
android:title="@string/menu_about"
android:orderInCategory="100"
app:showAsAction="never"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="@string/about_text"
android:id="@+id/textView"
android:layout_gravity="center_horizontal"
android:layout_margin="25dp"/>
</menu>
[/syntax]
Вот custom_menu_item XML
[syntax=xml]<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="
http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="Large Text"
android:id="@+id/textView3" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="Small Text"
android:id="@+id/textView4" />
</LinearLayout>[/syntax]