Android default action views decoration

Common default action views get a decoration implicitly based on Android standards.

On Androidâ„¢ devices, when the IMAGE and the TEXT action attributes are not defined for an action, the default action view gets an implicit decoration.

The default icon is selected from the name of the action. The symbol is chosen from the built-in images (Android material design icons), if it has the same name as the action. If no icon corresponds, the default action view will get no icon.

The text defaults to the name of the action, converted to uppercase. The text displays only if the Android system considers that the screen is large enough to display the texts. Typically, text is shown on tablets, but not on smartphones with small/medium screens.

For example, when implementing a ON ACTION refresh handler, GMA will implicitly use the default icon with the name "refresh" (the typical circular refresh symbol), and, if there is enough room, display the text "REFRESH" on the right of the icon.

Position and rendering of default action views can be controlled with Android specific style attributes. For more details, see Default action view style attributes.

Note also that some actions can be rendering as the Floating Action Button of material design, as described in Android floating action button.

Default actions views displayed in the top control bar and in the overflow button will get text but no icons, while the FAB material design button will get an icon but no text.

The table shows the default icons selected for common Genero BDL action names.
Note: This table does not list all possible built-in icons. More images are available from the Android material design icon library, and the GMA will select the icon from the action name. For example, an action with the name "audio" will get the Android music symbol icon:

Table 1. Default icons for common actions on Android
Action name Icon
about

accept

append

attention

bell

calendar

camera

cancel

copy

cut

delete

diropen

edit

editcopy

editcut

editpaste

exit

file

filenew

filter

find

findnext

first

firstrow

forwind

help

hint

insert

interrupt

last

lastrow

next

nextrow

new

paste

prev

previous

prevrow

query

rewind

update