Within following menu item attributes displays the icon for the menu item in the action bar only when there's enough room in the action bar to fit the icon?

Within following menu item attributes displays the icon for the menu item in the action bar only when there's enough room in the action bar to fit the icon?









a. android:icon=
"ifRoom"
b. android:icon=
"showAsAction"
c. android:showAsAction=
"icon"
d. android:showAsAction=
"ifRoom"
















Answer: D


Android

Learn More Multiple Choice Question :