-1
I want to change the font and color of the items and also change the background of the menu, but I cannot do this in the Xml menu. Screenshot below:
I also want to make Expense subthemes appear just below Expense. It opens a new menu, making the previous one disappear (obvious).
XML menu:
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/mnDespesas"
android:title="Despesas"
app:showAsAction="never">
<menu>
//esconder subHab dentro do group
<item
android:id="@+id/subHab"
android:title="Habitação"
app:showAsAction="never">
</item>
<item
android:id="@+id/subSaud"
android:title="Saúde"
app:showAsAction="never">
</item>
<item
android:id="@+id/subDespPess"
android:title="Despesas Pessoais"
app:showAsAction="never">
</item>
<item
android:id="@+id/subEdu"
android:title="Educação"
app:showAsAction="never">
</item>
<item
android:id="@+id/subLaz"
android:title="Lazer"
app:showAsAction="never">
</item>
<item
android:id="@+id/subOutr"
android:title="Outros"
app:showAsAction="never">
</item>
</menu>
</item>
<item
android:id="@+id/mnDivida"
android:title="Organizador de Dívidas"
app:showAsAction="never">
</item>
<item
android:id="@+id/mnAClen"
android:title="Calendário"
app:showAsAction="never">
</item>
<item
android:id="@+id/mnRanking"
android:title="Ranking"
app:showAsAction="never">
</item>
<item
android:id="@+id/mnAjuda"
android:title="Ajuda"
app:showAsAction="never">
</item>
</menu>