What is kind of technique this app using?
<p>When user click on an item in a gridview then a dialog comes out. </p>

<p><img src="http://i.stack.imgur.com/Txnjn.png" alt="enter image description here"></p>

<p>I see this technique seems typical for modern android app currently. But I am confused that they use floating menu or custom dialog to build that. I suppose its a floating menu, if so how to set a title for the menu and compatibly backward to api 7.
This is my code to achieve that, but it is minimum API 11. Could anyone point me to correct way ? Thanks so much.</p>

<pre><code>gridView.setChoiceMode(GridView.CHOICE_MODE_MULTIPLE_MODAL);
gridView.setMultiChoiceModeListener(new MultiChoiceModeListener() {

@Override
public void onItemCheckedStateChanged(ActionMode mode, int position,
                                      long id, boolean checked) {
}

@Override
public boolean onActionItemClicked(ActionMode mode, MenuItem item) {
    switch (item.getItemId()) {
        case R.id.menu_delete:
            deleteSelectedItems();
            mode.finish();
            return true;
        default:
            return false;
    }
}

@Override
public boolean onCreateActionMode(ActionMode mode, Menu menu) {
    MenuInflater inflater = mode.getMenuInflater();
    inflater.inflate(R.menu.context, menu);
    return true;
}

@Override
public void onDestroyActionMode(ActionMode mode) {
}

@Override
public boolean onPrepareActionMode(ActionMode mode, Menu menu) {
    return false;
}
});
</code></pre>
