Search Header Logo

Android App Quiz 6

Authored by Von Magbitang

Computers

University

Used 5+ times

Android App Quiz 6
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In Android, what class handles the user swipes to screens or View elements, automatically?

ScreenPager
SwipeHandler
ViewPager
ViewSwiper

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Complete the following code:

tabLayout.?(tabLayout.newTab().setText(R.string.tab_label1));

setTab
updateTab
addTab
removeTab

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Complete the following code:

viewPager.addOnPageChangeListener(new

TabLayout.?(tabLayout));

TabLayoutOnPageChangeListener

TabLayoutPageChangeListener

Tab;ayoutOnPageChangeListener

TabLayoutOnChangeListener

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What attribute do we need to add up button in the manifest xml file?

android:backButton
android:buttonName
android:parentActivityName
android:upButton

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Complete the following code to create up button:

android:?=".MainActivity"

android:backButton
android:buttonName
android:parentActivityName
android:upButton

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Complete the following code:

viewPager.?(adapter);

addAdapter
insertAdapter
removeAdapter
setAdapter

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Complete the following code:

viewPager.addOnPageChangeListener(new

?.TabLayoutOnPageChangeListener(tabLayout));

TabLayout
LinearLayout
RecyclerView
TextView

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?