Ready to Pass Your Certification Test

Ready to guarantee a pass on the certification that will elevate your career? Visit this page to explore our catalog and get the questions and answers you need to ace the test.

Google ASSOCIATE-ANDROID-DEVELOPER

Custom view settings

Exam contains 128 questions

Page 5 of 22
Question 25 🔥

An overridden method onCreateOptionsMenu in an Activity returns boolean value. What does this value mean?

Question 26 🔥

For example, suppose that in a XML file (res/menu/menu_main.xml as an example), where menu items are described, we have such item: ... <item android:id="@+id/action_settings" android:orderInCategory="100" android:title="@string/menu_action_settings" app:showAsAction="never" /> ... Attribute “app:showAsAction” shows when and how this item should appear as an action item in the app bar. What value “never” in this attribute means?

Question 27 🔥

To handle an options menu item click in an activity, we usually should override method named:

Question 28 🔥

Working with Custom View. To define custom attributes, we can add <declare -styleable> resources to our project. It is customary to put these resources into a file:

Question 29 🔥

Working with Custom View. Once you define the custom attributes, you can use them in layout XML files just like built -in attributes. The only difference is that your custom attributes belong to a different namespace. Instead of belonging to the http://schemas.android.com/apk/res/android namespace, they belong to:

Question 30 🔥

What is a correct part of an Implicit Intent for sharing data implementation?

Lorem ipsum dolor sit amet consectetur. Eget sed turpis aenean sit aenean. Integer at nam ullamcorper a.

© 2024 Exam Prepare, Inc. All Rights Reserved.