Associate-Android-Developer Exam Question 36

The easiest way of adding menu items (to specify the options menu for an activity) is inflating an XML file into the Menu via MenuInflater. With menu_main.xml we can do it in this way:
  • Associate-Android-Developer Exam Question 37

    What is illustrated in the picture?
  • Associate-Android-Developer Exam Question 38

    When your code execution reaches the breakpoint, Android Studio pauses execution of your app. You can
  • Associate-Android-Developer Exam Question 39

    An overridden method onCreateOptionsMenu in an Activity returns boolean value. What does this value mean?
  • Associate-Android-Developer Exam Question 40

    With our Context we can get SharedPreferences with a method, named: getSharedPreferences (String name, int mode). What value can we transfer in a "mode"parameter?