Deck 9: Customize Navigating With Tabs on a Tablet App

ملء الشاشة (f)
exit full mode
سؤال
On tablets, single-pane layouts automatically correct for awkward whitespace and excessive line lengths. 
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Multipane layouts provide a way to show different topics within a single window in an intuitive interface.
سؤال
What's the first API generation that includes tablet designs?

A) API 14: Android 4.0 (Ice Cream Sandwich)
B) API 10: Android 2.33 (Gingerbread)
C) API 11: Android 3.0 (Froyo)
D) API 13: Android 3.2 (Honeycomb)
سؤال
Which of the following allows you to show different topics within a single window ?

A) FlipScreens
B) MultiWindows
C) TabbedPanes
D) Multipane layouts
سؤال
Application templates are used to create basic Android applications that will work on only specific screen sizes.
سؤال
When using the Master/Detail Flow template on smaller devices, where are the list and details displayed?

A) Top and bottom
B) Side by side
C) In rows and columns
D) On separate screend
سؤال
What type of object should you use to display Web pages?

A) WebView
B) TextView
C) HTMLView
D) PageView
سؤال
Which template creates an adaptive, responsive layout for a set of list items and associated detail content ?

A) Master/Detail Flow
B) Navigation Drawer Activ ity
C) Activity with Fragment
D) Fullscreen Activity
سؤال
Responsive design is an approach to designing apps and web ites that provide an optimal viewing experience across as many devices as possible.
سؤال
The purpose of the ItemDetailFragment.java file is to display the activity_item_detail.xml layout file if a smartphone is detected.
سؤال
What is the Strings table responsible for d isplaying in the app?

A) pixels
B) objects
C) text
D) icons
سؤال
Android Studio has responsive design templates, which allow you to build the app once, but display it on multiple devices. 
سؤال
Which of the followi ng is an approach to designing apps and websites that provide an optimal viewing experience across as many devices as possible ?

A) Single pane design
B) Application templates
C) Responsive design
D) Multipane apps
سؤال
What is each row wit hin a TableLayout associated with?

A) TableColumn instance
B) TableRow insta nce
C) Row view
D) Column view
سؤال
The purpose of the ItemDetailActivity.java class is to display the activity_item_detail.xml layout file if which of the foll owing devices is detected ?

A) a hybrid
B) a tablet or a smartphone
C) a tablet
D) a smartphone
سؤال
Instead of creating apps for multiple sizes of Android devices, apps and web pages should be developed once for a wide range of displays.
سؤال
The Android platform provides a flexible way to simplify layout and navigation using built-in Android templates.
سؤال
The purpose of the DummyContent.java file is to provide sample code you customize to suit your specific app content.
سؤال
Wh en using the Master/Detail Flow template on a table t, which item(s) appears in a pane along the left ed ge of the screen?

A) Master
B) All
C) List
D) Detail
سؤال
Use single-pane layouts to reduce the width of UI elements and padding to adjust for a stretched-out look. 
سؤال
Which of the following does the Android Manifest file NOT provide information about?

A) Theme
B) Activities
C) Strings
D) Permissions
سؤال
When designing an app, w h a t do developers use to divide components of the user interface to make it easier to reuse the components ?

A) fragments
B) intents
C) grids
D) tabs
سؤال
How is the DummyContent.java file displayed on a tablet by default?

A) table layout
B) single-pane layout
C) relative layout
D) two-pane layout
سؤال
Which st atement compares the string named gender to "Male"?

A) if(gender == "Male")
B) if(gender.iseq ual ("Male"))
C) if(gender.equals("Male"))
D) if( gender = "Male")
سؤال
In w hich file is the permission to connect to the Internet set?

A) AndroidManifest.xml
B) Content.xml
C) Control.xml
D) View.xml
سؤال
W hat are used to initialize i nstance variable s of an object?

A) Classes
B) Constructors
C) Functions
D) Initializers
سؤال
The code to assign the id of an image called imgBike in the XML layout file is ____________________.
سؤال
 ____________________ layouts can be used to show different topics within a single window in an intuitive interface.
سؤال
Which of the fol lowing compares two objects to determine whether they are exactly the same object ?

A) =
B) .compare
C) ==
D) .equals
سؤال
Which 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
سؤال
Which of the following terms best desc ri bes a restriction limiting access to a part of the code or to data on the device ?

A) intent
B) request
C) permission
D) context
سؤال
The code to allow permission to access the Internet is ____________________.
سؤال
A(n) _______________ object is a View widget that displays web pages.
سؤال
Android introduced fragments in Android 3.2, API level 13, primarily to support more dynamic and flexible user interface design on which feature?

A) smartphone screens
B) large screens
C) small screens
D) touch screens
سؤال
To determine if two String objects match exactly, which method should y ou use?

A) .equals method
B) .compare method
C) .checkValue method
D) .table method
سؤال
Which of the following class es provide sample content to display in the user interface of the template ?

A) DummyContent.java
B) TabOne.java
C) Content.java
D) SampleContent.java
سؤال
Which statement properly uses the inflate method?

A) inflater.inflate(R.layout.photos, container);
B) inflater.inflate(container, R.layout.photos, false);
C) inflater.inflate(R.layout.photos, container, false);
D) inflater.inflate(container, R.layout.photos);
سؤال
What does t he first argument in the inflate method display ?

A) layout parameters
B) URI
C) XML layout
D) SDK
سؤال
____________________ design is an approach to designing apps and websites that provide an optimal viewing experience across as many devices as possible.
سؤال
Which of the following terms best defines 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
سؤال
Use the .equals method to determine if two ____________________ objects match exactly.
سؤال
A(n) ____________________ protects critical data and code that could be misused to cause issues for your app and others.
سؤال
____________________ are used to initialize the instance variables of an object.
سؤال
The third argument of the inflate method is a(n)  ____________________ type with the value ____________________ .
سؤال
The code to place an image, 60 scale-independent pixels, from the bottom edge is ____________________.
سؤال
The code to see if mItem.id is equal to "3" is ________________________.
سؤال
The second argument of the inflate method applies the ____________________ to the container. 
سؤال
The purpose of the _________________________ class is to display the activity_item_list.xml layout file.
سؤال
When a smartphone or a tablet is detected, the _______________________ layout file displays the detail pane using the onCreateView( ) method.
سؤال
A(n) __________________ is a p iec e of an application's user interface or behavior that can be placed in an Activity.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 9: Customize Navigating With Tabs on a Tablet App
1
On tablets, single-pane layouts automatically correct for awkward whitespace and excessive line lengths. 
False
2
Multipane layouts provide a way to show different topics within a single window in an intuitive interface.
True
3
What's the first API generation that includes tablet designs?

A) API 14: Android 4.0 (Ice Cream Sandwich)
B) API 10: Android 2.33 (Gingerbread)
C) API 11: Android 3.0 (Froyo)
D) API 13: Android 3.2 (Honeycomb)
D
4
Which of the following allows you to show different topics within a single window ?

A) FlipScreens
B) MultiWindows
C) TabbedPanes
D) Multipane layouts
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
Application templates are used to create basic Android applications that will work on only specific screen sizes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
When using the Master/Detail Flow template on smaller devices, where are the list and details displayed?

A) Top and bottom
B) Side by side
C) In rows and columns
D) On separate screend
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
What type of object should you use to display Web pages?

A) WebView
B) TextView
C) HTMLView
D) PageView
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which template creates an adaptive, responsive layout for a set of list items and associated detail content ?

A) Master/Detail Flow
B) Navigation Drawer Activ ity
C) Activity with Fragment
D) Fullscreen Activity
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
Responsive design is an approach to designing apps and web ites that provide an optimal viewing experience across as many devices as possible.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
The purpose of the ItemDetailFragment.java file is to display the activity_item_detail.xml layout file if a smartphone is detected.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
What is the Strings table responsible for d isplaying in the app?

A) pixels
B) objects
C) text
D) icons
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
Android Studio has responsive design templates, which allow you to build the app once, but display it on multiple devices. 
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
Which of the followi ng is an approach to designing apps and websites that provide an optimal viewing experience across as many devices as possible ?

A) Single pane design
B) Application templates
C) Responsive design
D) Multipane apps
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
What is each row wit hin a TableLayout associated with?

A) TableColumn instance
B) TableRow insta nce
C) Row view
D) Column view
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
The purpose of the ItemDetailActivity.java class is to display the activity_item_detail.xml layout file if which of the foll owing devices is detected ?

A) a hybrid
B) a tablet or a smartphone
C) a tablet
D) a smartphone
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
Instead of creating apps for multiple sizes of Android devices, apps and web pages should be developed once for a wide range of displays.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
The Android platform provides a flexible way to simplify layout and navigation using built-in Android templates.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
The purpose of the DummyContent.java file is to provide sample code you customize to suit your specific app content.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
Wh en using the Master/Detail Flow template on a table t, which item(s) appears in a pane along the left ed ge of the screen?

A) Master
B) All
C) List
D) Detail
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
Use single-pane layouts to reduce the width of UI elements and padding to adjust for a stretched-out look. 
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
Which of the following does the Android Manifest file NOT provide information about?

A) Theme
B) Activities
C) Strings
D) Permissions
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
When designing an app, w h a t do developers use to divide components of the user interface to make it easier to reuse the components ?

A) fragments
B) intents
C) grids
D) tabs
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
How is the DummyContent.java file displayed on a tablet by default?

A) table layout
B) single-pane layout
C) relative layout
D) two-pane layout
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
Which st atement compares the string named gender to "Male"?

A) if(gender == "Male")
B) if(gender.iseq ual ("Male"))
C) if(gender.equals("Male"))
D) if( gender = "Male")
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
In w hich file is the permission to connect to the Internet set?

A) AndroidManifest.xml
B) Content.xml
C) Control.xml
D) View.xml
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
W hat are used to initialize i nstance variable s of an object?

A) Classes
B) Constructors
C) Functions
D) Initializers
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
The code to assign the id of an image called imgBike in the XML layout file is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
 ____________________ layouts can be used to show different topics within a single window in an intuitive interface.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
Which of the fol lowing compares two objects to determine whether they are exactly the same object ?

A) =
B) .compare
C) ==
D) .equals
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
Which 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
Which of the following terms best desc ri bes a restriction limiting access to a part of the code or to data on the device ?

A) intent
B) request
C) permission
D) context
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
The code to allow permission to access the Internet is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
A(n) _______________ object is a View widget that displays web pages.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
Android introduced fragments in Android 3.2, API level 13, primarily to support more dynamic and flexible user interface design on which feature?

A) smartphone screens
B) large screens
C) small screens
D) touch screens
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
To determine if two String objects match exactly, which method should y ou use?

A) .equals method
B) .compare method
C) .checkValue method
D) .table method
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
Which of the following class es provide sample content to display in the user interface of the template ?

A) DummyContent.java
B) TabOne.java
C) Content.java
D) SampleContent.java
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
Which statement properly uses the inflate method?

A) inflater.inflate(R.layout.photos, container);
B) inflater.inflate(container, R.layout.photos, false);
C) inflater.inflate(R.layout.photos, container, false);
D) inflater.inflate(container, R.layout.photos);
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
What does t he first argument in the inflate method display ?

A) layout parameters
B) URI
C) XML layout
D) SDK
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
____________________ design is an approach to designing apps and websites that provide an optimal viewing experience across as many devices as possible.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
Which of the following terms best defines 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
Use the .equals method to determine if two ____________________ objects match exactly.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
A(n) ____________________ protects critical data and code that could be misused to cause issues for your app and others.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
____________________ are used to initialize the instance variables of an object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
The third argument of the inflate method is a(n)  ____________________ type with the value ____________________ .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
The code to place an image, 60 scale-independent pixels, from the bottom edge is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
The code to see if mItem.id is equal to "3" is ________________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
The second argument of the inflate method applies the ____________________ to the container. 
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
The purpose of the _________________________ class is to display the activity_item_list.xml layout file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
When a smartphone or a tablet is detected, the _______________________ layout file displays the detail pane using the onCreateView( ) method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
A(n) __________________ is a p iec e of an application's user interface or behavior that can be placed in an Activity.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.