Deck 9: Customize Navigating With Tabs on a Tablet App
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
Play
Full screen (f)
Deck 9: Customize Navigating With Tabs on a Tablet App
1
____ allow you to show different topics within a single window.
A) FlipScreens
B) MultiWindows
C) TabbedPanes
D) Multipane layouts
A) FlipScreens
B) MultiWindows
C) TabbedPanes
D) Multipane layouts
D
2
The Master/Detail Flow template automatically enter Items as the Object Kind ____ settings.
A) Activity
B) Content
C) Layout
D) Plural
A) Activity
B) Content
C) Layout
D) Plural
D
3
The Strings table is responsible for the ____ displayed in the app.
A) pixels
B) objects
C) text
D) icons
A) pixels
B) objects
C) text
D) icons
C
4
The WebView object is a ____ widget that displays Web pages.
A) View
B) Text
C) Web
D) Tablet
A) View
B) Text
C) Web
D) Tablet
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
ImageView is a control used to display an image.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
Tabs usually require a large amount of additional instruction to use correctly.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
The ____ template creates an adaptive, responsive layout for a set of list items and associated detail content.
A) Master/Detail Flow
B) Master Flow
C) Flow Detail
D) Flow
A) Master/Detail Flow
B) Master Flow
C) Flow Detail
D) Flow
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
The Eclipse SDK includes tools called ____ for fast creation of Android apps.
A) template tools
B) application templates
C) design tools
D) Android coding tools
A) template tools
B) application templates
C) design tools
D) Android coding tools
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
The Master/Detail Flow template automatically enters the Item as the Object ____ setting.
A) Kind
B) FrameLayout
C) Layout
D) GridView
A) Kind
B) FrameLayout
C) Layout
D) GridView
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
Multipane layouts provide a way to show different topics within a single window in an intuitive interface.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
String values are assigned in ____.
A) matrix.xml
B) strings.xml
C) text.xml
D) view.xml
A) matrix.xml
B) strings.xml
C) text.xml
D) view.xml
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
Instead of creating apps for multiple sizes of Android devices, apps and Web pages should be developed once for a wide range of displays.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
On tablets, single-pane layouts automatically correct for awkward whitespace and excessive line lengths.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
Use single-pane layouts to reduce the width of UI elements and padding to adjust for a stretched-out look.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
The Android platform provides a flexible way to simplify layout and navigation using built-in Android templates.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
Eclipse has responsive design templates, which allow you to build the app once, but display it on multiple devices.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
The purpose of the ItemDetailActivity.java class is to display the activity_item_detail.xml layout file if ____ is detected.
A) any device
B) a tablet or a smartphone
C) a tablet
D) a smartphone
A) any device
B) a tablet or a smartphone
C) a tablet
D) a smartphone
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
The minimum SDK version for a tablet is version ____.
A) 3
B) 6
C) 8
D) 11
A) 3
B) 6
C) 8
D) 11
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
Responsive design is an approach to designing apps and Web sites that provide an optimal viewing experience across as many devices as possible.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
A TableView can be used to display an ImageView and a TextView.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
When designing an app, developers typically divide different components of the user interface and display them in ____.
A) fragments
B) intents
C) grids
D) tabs
A) fragments
B) intents
C) grids
D) tabs
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
The inflate method has ____ arguments.
A) one
B) two
C) three
D) four
A) one
B) two
C) three
D) four
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
The purpose of the ____class is to provide sample content to display in the user interface of the template.
A) DummyContent.java
B) TabOne.java
C) Content.java
D) SampleContent.java
A) DummyContent.java
B) TabOne.java
C) Content.java
D) SampleContent.java
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
To test an app, tap or click Run on the menu bar of the Android Master/Detail Flow template, and then select Run to save and test the application in the _______________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
A(n)____ is a restriction limiting access to a part of the code or to data on the device.
A) intent
B) request
C) permission
D) context
A) intent
B) request
C) permission
D) context
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
The TextView object cannot display a ____ page.
A) Content
B) Display
C) Web
D) View
A) Content
B) Display
C) Web
D) View
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
The ____ object allows you to place a Web Browser or simply display some online content within your Activity.
A) ActivityView
B) WebView
C) ObjectView
D) ContentView
A) ActivityView
B) WebView
C) ObjectView
D) ContentView
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
____________________ list items eliminate the need for additional instructions for navigation.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
The permission to connect to the Internet is set within the ____ file.
A) AndroidManifest.xml
B) Content.xml
C) Control.xml
D) View.xml
A) AndroidManifest.xml
B) Content.xml
C) Control.xml
D) View.xml
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
The code android: ____ defines the padding for all sides of an image.
A) createPadding
B) definePadding
C) padding
D) setPadding
A) createPadding
B) definePadding
C) padding
D) setPadding
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
____________________ layouts can be used to show different topics within a single window in an intuitive interface.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
The code to allow permission to access the Internet is ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
Constructors are used to initialize the instance variables of a(n) ____.
A) view
B) object
C) class
D) string
A) view
B) object
C) class
D) string
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
By dividing components of the user interface and displaying them in fragments, it is easier for developers to ____ these components across various Activities.
A) separate
B) design
C) layout
D) reuse
A) separate
B) design
C) layout
D) reuse
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
The code to assign the id of an image called imgBike in the XML layout file is ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
To determine if two String objects match exactly, you should use the ____ method.
A) .equals
B) .compare
C) .checkValue
D) .table
A) .equals
B) .compare
C) .checkValue
D) .table
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
Android introduced fragments in Android 3.0, API level 11, primarily to support more dynamic and flexible user interface design on ____.
A) smartphone screens
B) large screens
C) small screens
D) padded screens
A) smartphone screens
B) large screens
C) small screens
D) padded screens
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
The ____ operator compares two objects to determine whether they are exactly the same object.
A) =
B) <>
C) ==
D) <=
A) =
B) <>
C) ==
D) <=
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
A(n)____ is a piece of an application's user interface or behavior that can be placed in an Activity.
A) fragment
B) adapter
C) control
D) permission
A) fragment
B) adapter
C) control
D) permission
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
The first argument in the inflate method displays the ____.
A) layout parameters
B) URI
C) XML layout
D) SDK
A) layout parameters
B) URI
C) XML layout
D) SDK
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
In order to run and test an app, you must have Internet connectivity to open the Web page and enough _______________ available to handle the app connection to the Web.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
____________________ are used to initialize the instance variables of an object.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
A(n) ____________________ is essentially a sub-Activity hosted inside another Activity.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
The second argument of the inflate method applies the ____________________ to the container.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
The code to add an item to the file named DummyContent.java is ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
The third argument of the inflate method is a(n) ____________________ type with the value ____________________ .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
The code to place an image, 60 scale-independent pixels, from the bottom edge is ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
The code to compare the value of a String is: if (mItem.id. ____________________ ) .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
____________________ is an approach to designing apps and Web sites that provide an optimal viewing experience across as many devices as possible.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
Use the .equals method to determine if two ____________________ objects match exactly.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck