get icon resource for button . concode_field_sep ImageButton button concode_elem_sep int longClickDialog concode_elem_sep UIAction mainAction concode_elem_sep ArrayList<UIAction> menuActions concode_elem_sep int menuTitle concode_elem_sep String name concode_elem_sep int maxMenuActions concode_field_sep ArrayList<UIAction> getMenuActions concode_elem_sep boolean showMenu concode_elem_sep boolean isEnabled concode_elem_sep void readPrefs concode_elem_sep void setImageButton concode_elem_sep int getMenuTitle
int function ( ) { int loc0 = - 1 ; if ( mainAction != null ) loc0 = mainAction . getIcon ( ) ; if ( loc0 == - 1 ) loc0 = R . raw . custom ; return loc0 ; }