AND-801 Android Application Development v8

Loading demo links...

Showing 1–3 of 10 questions

Question 1

Which of the below choices is the best answer to fill the empty space in the following sentence? If you want to give all text widgets in an app the same format such as font color, font size, and font family, you should add the style attribute to the TextView XML tags in layout file and set the attribute value to the same style name. You should define that style by adding a new style tag "style name-style_name" inside...............................

Select an option, then click Submit answer.

  • AadroiddManifest-xml file

  • activity_main.xml file

  • stytes.xml file

  • MainActivity.java or MainActivity.kt file

Question 2

Check the following image which includes Android code. In this code when the app user clicks the button, the user will get a toast message which states "Hello Android ATC". After executing the code, where on the android device screen will the toast message appear?

Untitled

Select an option, then click Submit answer.

  • Top middle (center).

  • Top left.

  • Top right.

  • Right middle (center).

Question 3

If your Android application creates a SQLite database, which of the following is the default directory to save this database file?

Select an option, then click Submit answer.

  • /database/SQLite_Data/APP_NAME/databases/DATABASE_FILE.

  • /database/data/APP_NAME/databases/DATABASE_FILE_SQLAPP.

  • /database/data/APP_NAME/databases/DATABASE_FILE.

  • /dataSQL/data/APP_NAME/databases/DATABASE_FILE.