2
Hello,
someone knows how to place a horizontal line to separate items from my menu without having to use the tag <group>
?
I have the following code:
<menu>
<item android:id="@+id/action_rate"
android:title="@string/action_rate"
android:orderInCategory="100"/>
<item android:id="@+id/action_comment"
android:title="@string/action_comment"
android:orderInCategory="100"/>
<item android:id="@+id/action_about"
android:title="@string/action_about"
android:orderInCategory="100"/>
</menu>
Didn’t work :\
– porthfind
color changed? maybe the color dark_gray is not in the theme you are using
– Paulo Mendonça
Yes I have, it was the first thing I noticed.
– porthfind
Use attribute with embedded color android:background="@android:color/darker_gray" that will work smoothly.
– ldfranco