Online Access Free Associate-Android-Developer Practice Test

Exam Code:Associate-Android-Developer
Exam Name:Google Developers Certification - Associate Android Developer (Kotlin and Java Exam)
Certification Provider:Google
Free Question Number:125
Posted:Sep 09, 2025
Rating
100%

Question 1

By default, the notification's text content is truncated to fit one line. If you want your notification to be longer, for example, to create a larger text area, you can do it in this way:

Question 2

The diagram below shows a basic form of the recommended architecture for apps that use Architecture Components. The architecture consists of a UI controller, a ViewModel that serves LiveData, a Repository, and a Room database. Drag modules to correct places.

Question 3

In our TeaViewModel class, that extends ViewModel, we have such method:
public LiveData<Tea> getTea() { return mTea;
}
An observer in our Activity (type of mViewModel variable in example is TeaViewModel) is set in this way:
mViewModel.getTea().observe(this, this::displayTea);
What will be a correct displayTea method definition?

Question 4

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 5

To build a debug APK, you can open a command line and navigate to the root of your project directory. To initiate a debug build, invoke the assembleDebug task:
gradlew assembleDebug
This creates an APK named [module_name]-debug.apk in [project_name]/[module_name]/build/outputs/apk/ Select correct statements about generated file. (Choose all that apply.)

Add Comments

Your email address will not be published. Required fields are marked *

insert code
Type the characters from the picture.