Android AND-401 Exam
Android Application Development (Page 4 )

Updated On: 1-Feb-2026

What package is FloatingActionButton part of?

  1. Introduced with the Android Lollipop release, it is available in apps that have minSDK version of 21.
  2. It is part of the Material design library (android.material.design.widgets).
  3. It is released as part of the Design support library (com.android.support:design).
  4. All answers are incorrect.

Answer(s): C


Reference:

https://developer.android.com/training/material/design-library.html



What is the default background color of FloatingActionButton?

  1. Application theme’s colorPrimary .
  2. Application theme’s colorAccent .
  3. Application theme’s colorPrimaryAccent .
  4. Application theme’s colorPrimaryDark .

Answer(s): B


Reference:

https://developer.android.com/training/material/design-library.html



Which of the following is required for getting the best output from performance profiling tools in Android Studio?

  1. It works only on real devices.
  2. Disable the instant run before profiling the app.
  3. Enable the instant run before profiling the app.
  4. It works only on real devices and enable the instant run before profiling the app.

Answer(s): D



How many snackbars can be displayed at a time?

  1. One.
  2. Two.
  3. Depends on the view.
  4. As Many as developer wants.

Answer(s): A


Reference:

https://developer.android.com/reference/android/support/design/widget/Snackbar.html



How is the lifecycle of Service connected to the component that started it?

  1. Same Lifecycler
  2. Parallel Lifecycle
  3. Sequence Lifecycle
  4. Independent

Answer(s): D


Reference:

https://developer.android.com/guide/components/services.html



Viewing page 4 of 47
Viewing questions 16 - 20 out of 228 questions



Post your Comments and Discuss Android AND-401 exam prep with other Community members:

Join the AND-401 Discussion