public class

QuickActionBar

extends QuickActionWidget
java.lang.Object
   ↳ android.widget.PopupWindow
     ↳ greendroid.widget.QuickActionWidget
       ↳ greendroid.widget.QuickActionBar

Class Overview

A QuickActionBar displays a set of QuickAction on a single row. In case too many items are added to the QuickActionBar, the user can horizontally scroll QuickActions. Using a QuickActionBar is a great replacement for the long click UI pattern. For instance, QuickActionBar adds secondary actions to an item of a ListView.

Summary

[Expand]
Inherited Constants
From class android.widget.PopupWindow
Public Constructors
QuickActionBar(Context context)
Public Methods
void show(View anchor)
Call that method to display the QuickActionWidget anchored to the given view.
Protected Methods
void onClearQuickActions()
void onMeasureAndLayout(Rect anchorRect, View contentView)
void populateQuickActions(List<QuickAction> quickActions)
[Expand]
Inherited Methods
From class greendroid.widget.QuickActionWidget
From class android.widget.PopupWindow
From class java.lang.Object

Public Constructors

public QuickActionBar (Context context)

Public Methods

public void show (View anchor)

Call that method to display the QuickActionWidget anchored to the given view.

Parameters
anchor The view the QuickActionWidget will be anchored to.

Protected Methods

protected void onClearQuickActions ()

protected void onMeasureAndLayout (Rect anchorRect, View contentView)

protected void populateQuickActions (List<QuickAction> quickActions)