All Products
Search
Document Center

Mobile Platform as a Service:Pop-up menu

Last Updated:Jan 23, 2026

The AUPopMenu component lets you create a pop-up menu that appears when a tab in the navigation bar is clicked. It is a type of popup window.

Unlike AUFloatMenu, AUPopMenu does not have a bottom mask layer and has an outer border. All layouts within AUPopMenu are centered.

Basic features

  • The business control expands or collapses.

  • Supports passing a list of strings to use the default style or passing an adapter directly.

API reference

/**
* Constructs the data using the default style.
* @param context
* @param itemArrayList
*/
public AUPopMenu(Context context, ArrayList<MessagePopItem> itemArrayList)

/**
* Constructs the adapter using a custom style.
* @param context
* @param listAdapter
*/
public AUPopMenu(Context context, BaseAdapter listAdapter)

/**
* tip toast down
* @param anchorView
*/
public void showTipView(View anchorView) 

/**
* tip toast with direction
* @param anchorView
* @param isDown
*/
public void showTipView(View anchorView, boolean isDown) 

/**
* Dismisses the window.
*/
public void dismiss()


/**
* Sets a listener for item clicks.
* @param listener
*/
public void setOnItemClickListener(AdapterView.OnItemClickListener listener)

Custom properties

No custom properties. XML layouts are not supported.

Code sample

final AUPopMenu popMenu = new AUPopMenu(ScrollTitleBarActivity.this, getItemList());
popMenu.showTipView(view);
popMenu.setOnItemClickListener(new AdapterView.OnItemClickListener() {
    @Override
    public void onItemClick(AdapterView<?> parent, View view, int position, long id) {

    }
});