In Android Studio, how do I change the option menu (the vertical one with ...) to "settings" or text notation instead of ...?
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android: id="@+id/Setting"
android: title="@string/Setting"
app:showAsAction="ifRoom">
<menu>
<item
android: id="@+id/id1"
android: title="@string/Setting1"/>
<item
android: id="@+id/id2"
android: title="@string/Setting2"/>
<item
android: id="@+id/id3"
android: title="@string/Setting3"/>
</menu>
</item>
</menu>
I was able to nest like this, but...→Settings→Each item has one more tier.
Originally, I want to set → each item.
Please.
Wouldn't it be possible to set app:showAsAction="ifRoom"
to app:showAsAction="always"
to solve this problem?
© 2024 OneMinuteCode. All rights reserved.