Multiple choice

What is the working of the following code?

android:showAsAction=”collapseActionView”

  1. This will collapse the action view into just an action item.

  2. This will completely collapse the action view.

  3. This will completely collapse the action item.

  4. The search widget would consume space on the action bar even when it is not in use.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The given code will collapse the action view into just an action item. Otherwise, the search widget would consume space on the action bar even when it is not in use.