Google Associate-Android-Developer Associate Android Developer Exam Practice Test

Page: 1 / 14
Total 128 questions
Question 1

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:

...

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 2

When using an EditTexts or editable TextViews, or other editable View. What attribute to use to provide a content label for that View?



Question 3

When using an ImageView, ImageButton, CheckBox, or other View that conveys information graphically. What attribute to use to provide a content label for that View?



Question 4

A content label sometimes depends on information only available at runtime, or the meaning of a View might change over time. For example, a Play button might change to a Pause button during music playback. In these cases, to update the content label at the appropriate time, we can use:



Question 5

If content in a PagedList updates, the PagedListAdapter object receives:



Question 6

If you want get a debuggable APK that people can install without adb, in Android Studio you can:



Answer : A

The Run button builds an APK with testOnly='true', which means the APK can only be installed via adb (which Android Studio uses). If you want a debuggable APK that people can install without adb, select your debug variant and click Build Bundle(s) / APK(s) > Build APK(s).


https://developer.android.com/studio/run

Question 7

Which build options in the Build menu to choose to delete all intermediate/cached build files.



Page:    1 / 14   
Total 128 questions