Phan Văn Khánh
New member
What is onCreateOptionsMenu in android?
Answer
You use onCreateOptionsMenu()
to specify the options menu for an activity
. In this method, you can inflate your menu resource (defined in XML) into the Menu provided in the callback.
Answer
You use onCreateOptionsMenu()
to specify the options menu for an activity
. In this method, you can inflate your menu resource (defined in XML) into the Menu provided in the callback.