Deck 9: Customize Navigating With Tabs on a Tablet App

ملء الشاشة (f)
exit full mode
سؤال
Tab content can be coded in ____ different ways.

A) two
C) four
B) three
D) six
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The ____ setting automatically defines how many columns to show based on the size of the Android screen and image width.

A) auto_fit
C) resize_auto
B) fit_to_screen
D) screen_fit
سؤال
The TabSpec.setContent method accepts an Intent as its only parameter.
سؤال
Tabs usually require a large amount of additional instruction to use correctly.
سؤال
Tab icons are typically ____ pixels.

A) 24 x 24
C) 72 x 72
B) 48 x 48
D) 96 x 96
سؤال
The ____ control is used for display tab content.

A) ContentDisplay
C) FrameLayout
B) ContentLayout
D) TabContentView
سؤال
The ____ class can be used instead of the default Activity class if the class's primary purpose is to display a TabHost control.

A) ContentActivity
C) SubActivity
B) InnerActivity
D) TabActivity
سؤال
The minimum SDK version for a tablet is ____.

A) 3
C) 8
B) 6
D) 11
سؤال
Tabs provide a way to show different topics within a single window in an intuitive interface.
سؤال
Tab icons should be simple, flat images.
سؤال
When the user selects a tab to launch a new Activity, it is appended to the bottom of the stack.
سؤال
GridView is an effective way to display the contents of cloud storage devices.
سؤال
A ____ control is part of the View group and displays objects in a two-dimensional, scrollable grid.

A) BagView
C) MatrixView
B) GridView
D) ScrollableView
سؤال
The TabHost control must always be placed at the "top" of the Android window.
سؤال
It is typically easier to manage one XML layout file for all the tabs in an application, which suggests that running one Activity with multiple tabs is the preferred approach.
سؤال
The ____ control allows you to wrap multiple views in a single window.

A) FlipScreen
C) TabbedPane
B) MultiWindow
D) TabHost
سؤال
In the Graphical Layout tab of Eclipse, a(n) ____ placeholder marks the location of future tabs.

A) blue
C) green
B) brown
D) orange
سؤال
A View instance occupies a rectangular area on the screen and is responsible for drawing component in an outer container, such as a GridView control.
سؤال
The TabHost class will automatically add any TabSpec objects that have been created.
سؤال
The ____ is the root control of the ____ and ____.

A) TabHost; TabWidget; FrameLayout
C) FrameLayout; TabHost; TabWidget
B) FrameLayout; Grid View; TabHost
D) GridView; TabHost; TabWidget
سؤال
When using multiple images in a GridView, it is often easiest to hold them in a(n) ____.

A) array
C) set
B) queue
D) table
سؤال
The recommended name of the first Tab Activity is ____.

A) .Tab1
C) Tab1
B) .TabOne
D) TabOne
سؤال
The XML code for the Android ID of the FrameLayout for a tabbed application is ____________________.
سؤال
The ____________________ control is the root of the layout and can be placed at the top or bottom of the Android window.
سؤال
To display the auto-complete listing for a piece of code in Eclipse, press ____.

A) alt+spacebar
C) shift+spacebar
B) ctrl+spacebar
D) spacebar
سؤال
The method to locate a View class by its identifier is____.

A) accessView
C) locateView
B) findViewById
D) viewFromId
سؤال
The ____ method defines the padding for all sides of each image.

A) createPadding
C) padding
B) definePadding
D) setPadding
سؤال
The getView()method uses ____ to create a new ImageView instance.

A) Activity
C) GridView
B) Context
D) TabWidget
سؤال
The ____ property can be set to an integer or to auto_fit.

A) columnWidth
C) numColumns
B) layout_width
D) stretchMode
سؤال
By dividing different components of the user interface and displaying them in ____, it is easier for developers to reuse these components across various Activities.

A) Fragments
C) Intents
B) GridViews
D) Tabs
سؤال
The ____ property sets the content for a TextView control.

A) content
C) text
B) display
D) view
سؤال
Each tab must have a(n) ____, which specifies how the tabs should actually appear.

A) AbstractTab
C) TabLayout
B) Design
D) TabSpec
سؤال
Android uses the ____ method to open a URI.

A) accessURI
C) startActivity
B) getURI
D) uriOpen
سؤال
The ____ method is used to set the type of scaling in the ImageView control.

A) imageBehavior
C) setScaleType
B) scalingFunction
D) setType
سؤال
The XML namespace can be found at ____________________.
سؤال
The code to assign the ID of the TabWidget control in the XML layout file is ____________________.
سؤال
The ImageAdapter class usually extends ____.

A) BaseAdapter
C) MainAdapter
B) ControlAdapter
D) ViewableAdapter
سؤال
The ____________________ control lies inside the TabHost and displays the tabs.
سؤال
The setLayoutParams method in the ImageView class requires ____ parameter(s).

A) one
C) three
B) two
D) four
سؤال
The ____ sets the width and height of a GridView in pixels.

A) columnWidth property
C) TabView method
B) LayoutParams method
D) padding property
سؤال
The code to place in the manifest file in order to have a titleless theme is ____________________.
سؤال
The code to set an ImageAdapter around your Activity class, and then set it to a GridView g as the bound adapter is ____________________.
سؤال
A(n) ____________________ is essentially a sub-Activity hosted inside another Activity.
سؤال
The GridView class is in the ____________________ package.
سؤال
The code to set an Intent called myIntent to a TabSpec named mySpec is ____________________.
سؤال
The TabSpec method ____________________ sets the tab button caption and supplies the icon image to the tab.
سؤال
The ____________________ class is used to load and access resources for the application.
سؤال
The code to have a TabSpec instance called mySpec use "Photos" as the text and photostack. png as the image is ____________________.
سؤال
The ____________________ property specifies a fixed width for each column.
سؤال
The code to move a bottom-placed tab five pixels from the bottom edge is ____________________.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
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
Tab content can be coded in ____ different ways.

A) two
C) four
B) three
D) six
A
2
The ____ setting automatically defines how many columns to show based on the size of the Android screen and image width.

A) auto_fit
C) resize_auto
B) fit_to_screen
D) screen_fit
A
3
The TabSpec.setContent method accepts an Intent as its only parameter.
True
4
Tabs usually require a large amount of additional instruction to use correctly.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
Tab icons are typically ____ pixels.

A) 24 x 24
C) 72 x 72
B) 48 x 48
D) 96 x 96
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
The ____ control is used for display tab content.

A) ContentDisplay
C) FrameLayout
B) ContentLayout
D) TabContentView
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
The ____ class can be used instead of the default Activity class if the class's primary purpose is to display a TabHost control.

A) ContentActivity
C) SubActivity
B) InnerActivity
D) TabActivity
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
The minimum SDK version for a tablet is ____.

A) 3
C) 8
B) 6
D) 11
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
Tabs provide a way to show different topics within a single window in an intuitive interface.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
Tab icons should be simple, flat images.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
When the user selects a tab to launch a new Activity, it is appended to the bottom of the stack.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
GridView is an effective way to display the contents of cloud storage devices.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
A ____ control is part of the View group and displays objects in a two-dimensional, scrollable grid.

A) BagView
C) MatrixView
B) GridView
D) ScrollableView
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
The TabHost control must always be placed at the "top" of the Android window.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
It is typically easier to manage one XML layout file for all the tabs in an application, which suggests that running one Activity with multiple tabs is the preferred approach.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
The ____ control allows you to wrap multiple views in a single window.

A) FlipScreen
C) TabbedPane
B) MultiWindow
D) TabHost
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
In the Graphical Layout tab of Eclipse, a(n) ____ placeholder marks the location of future tabs.

A) blue
C) green
B) brown
D) orange
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
A View instance occupies a rectangular area on the screen and is responsible for drawing component in an outer container, such as a GridView control.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
The TabHost class will automatically add any TabSpec objects that have been created.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
The ____ is the root control of the ____ and ____.

A) TabHost; TabWidget; FrameLayout
C) FrameLayout; TabHost; TabWidget
B) FrameLayout; Grid View; TabHost
D) GridView; TabHost; TabWidget
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
When using multiple images in a GridView, it is often easiest to hold them in a(n) ____.

A) array
C) set
B) queue
D) table
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
The recommended name of the first Tab Activity is ____.

A) .Tab1
C) Tab1
B) .TabOne
D) TabOne
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
The XML code for the Android ID of the FrameLayout for a tabbed application is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
The ____________________ control is the root of the layout and can be placed at the top or bottom of the Android window.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
To display the auto-complete listing for a piece of code in Eclipse, press ____.

A) alt+spacebar
C) shift+spacebar
B) ctrl+spacebar
D) spacebar
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
The method to locate a View class by its identifier is____.

A) accessView
C) locateView
B) findViewById
D) viewFromId
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
The ____ method defines the padding for all sides of each image.

A) createPadding
C) padding
B) definePadding
D) setPadding
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
The getView()method uses ____ to create a new ImageView instance.

A) Activity
C) GridView
B) Context
D) TabWidget
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
The ____ property can be set to an integer or to auto_fit.

A) columnWidth
C) numColumns
B) layout_width
D) stretchMode
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
By dividing different components of the user interface and displaying them in ____, it is easier for developers to reuse these components across various Activities.

A) Fragments
C) Intents
B) GridViews
D) Tabs
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
The ____ property sets the content for a TextView control.

A) content
C) text
B) display
D) view
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
Each tab must have a(n) ____, which specifies how the tabs should actually appear.

A) AbstractTab
C) TabLayout
B) Design
D) TabSpec
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
Android uses the ____ method to open a URI.

A) accessURI
C) startActivity
B) getURI
D) uriOpen
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
The ____ method is used to set the type of scaling in the ImageView control.

A) imageBehavior
C) setScaleType
B) scalingFunction
D) setType
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
The XML namespace can be found at ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
The code to assign the ID of the TabWidget control in the XML layout file is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
The ImageAdapter class usually extends ____.

A) BaseAdapter
C) MainAdapter
B) ControlAdapter
D) ViewableAdapter
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
The ____________________ control lies inside the TabHost and displays the tabs.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
The setLayoutParams method in the ImageView class requires ____ parameter(s).

A) one
C) three
B) two
D) four
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
The ____ sets the width and height of a GridView in pixels.

A) columnWidth property
C) TabView method
B) LayoutParams method
D) padding property
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
The code to place in the manifest file in order to have a titleless theme is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
The code to set an ImageAdapter around your Activity class, and then set it to a GridView g as the bound adapter is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
A(n) ____________________ is essentially a sub-Activity hosted inside another Activity.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
The GridView class is in the ____________________ package.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
The code to set an Intent called myIntent to a TabSpec named mySpec is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
The TabSpec method ____________________ sets the tab button caption and supplies the icon image to the tab.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
The ____________________ class is used to load and access resources for the application.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
The code to have a TabSpec instance called mySpec use "Photos" as the text and photostack. png as the image is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
The ____________________ property specifies a fixed width for each column.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
The code to move a bottom-placed tab five pixels from the bottom edge is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.