Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 759dc706 authored by Adam Powell's avatar Adam Powell
Browse files

Fix bug 3176330 - Improve documentation around MenuItem.setShowAsAction

Change-Id: Ibc8babd3668d0d8e1ed50ac330aac06a4f57dc1e
parent 645336a7
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -405,6 +405,11 @@ public interface MenuItem {
    
    
    /**
    /**
     * Sets how this item should display in the presence of an Action Bar.
     * Sets how this item should display in the presence of an Action Bar.
     * The parameter actionEnum is a flag set. One of {@link #SHOW_AS_ACTION_ALWAYS},
     * {@link #SHOW_AS_ACTION_IF_ROOM}, or {@link #SHOW_AS_ACTION_NEVER} should
     * be used, and you may optionally OR the value with {@link #SHOW_AS_ACTION_WITH_TEXT}.
     * SHOW_AS_ACTION_WITH_TEXT requests that when the item is shown as an action,
     * it should be shown with a text label.
     *
     *
     * @param actionEnum How the item should display. One of
     * @param actionEnum How the item should display. One of
     * {@link #SHOW_AS_ACTION_ALWAYS}, {@link #SHOW_AS_ACTION_IF_ROOM}, or
     * {@link #SHOW_AS_ACTION_ALWAYS}, {@link #SHOW_AS_ACTION_IF_ROOM}, or