Deck 10: Move Creating Animation and Graphics

ملء الشاشة (f)
exit full mode
سؤال
Tween animation creates an animation by performing a series of ____ on a single image such as position, size, rotation, and transparency on the contents of a View object.

A) transformations
B) projections
C) animations
D) waves
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Insert an ImageView control and its properties in the main.xml file to specify precise settings for the ____.

A) button
B) control
C) layout
D) frame
سؤال
____, an attribute of the animation-list, determines whether an animation plays once and then stops or continues to play until the Stop Animation button is tapped.

A) Class
B) AnimationDrawable
C) Motion tween
D) Android:oneshot
سؤال
Frame animation is also called ____ animation.

A) Tween
B) frame-by-frame
C) stochastic
D) sequence
سؤال
To create an Android application with Frame or Tween animation, which of the following processes must the developer be able to perform?

A) Adding a Frame animation XML file to the project
B) Coding the OnClickListeners for button controls
C) Running the frame-by-frame animation application
D) All of the above
سؤال
The layout specifications for the frame image and button controls reside within the main.xml file.
سؤال
A motion tween specifies the end state of an object.
سؤال
Animation of an object by a motion tween uses a uniform transition type such as rotating an infinite number of times.
سؤال
Animation displays many ____ in rapid succession or displays many changes to one image to create the illusion of movement.

A) orientations
B) activities
C) images
D) apps
سؤال
Frame animation assigns a sequence of photos to play as in a slide show with a predefined interval between images.
سؤال
Android provides three types of animation: Frame, Wave, and Tween animation.
سؤال
In the Android code, an animation-list root element references images stored in the drawable folders.
سؤال
The Package Name for the Wave Animation Project is net.androidbootcamp.waveanimation.
سؤال
Tween animation uses a sequence of images similar to Frame animation.
سؤال
An instance of AnimationDrawable is instantiated as a class variable because it is used in multiple methods within the Main class.
سؤال
To create a layout that displays two controls side by side, you can nest a(n) ____ within a Linear layout.

A) Tween animation
B) Relative layout
C) Frame animation
D) Animation-list
سؤال
In the Linear layout, an ImageView control displays the animation images.
سؤال
The ____ property can be included in the animation-list code to determine how many times to play the animation.

A) series
B) image
C) oneshot
D) layout
سؤال
The oneshot attribute is added to the code in the opening ____ tag.

A) logic list
B) animation-list
C) linked list
D) drawable
سؤال
By setting the android:oneshot attribute of the animation-list to ____, the animation plays repeatedly until the Stop Animation button is tapped.

A) item
B) main
C) true
D) false
سؤال
To create the illusion of movement, a cartoon image can be displayed on the screen and repeatedly replaced by a new image that is similar, but slightly advanced in the ____________________.
سؤال
The ____ provides the methods for Drawable animations to create a sequence of frame-by-frame images.

A) switch
B) emulator
C) AnimationDrawable class
D) startAnimation method
سؤال
Button controls use ____ to await user interaction.

A) getButton
B) setOnClickListener
C) btnStart
D) btTween
سؤال
____ is a cross-platform graphics API that specifies a standard software interface for 3D graphics processing hardware and uses a coordinate system to map the image to the screen.

A) 3DGraphics
B) AnimationGraphics
C) GraphicsLibrary
D) OpenGL
سؤال
For the application in Chapter 10, the Android Manifest file must be updated to include the ____ and to remove the title bar in the theme to provide more display room for the animation.

A) second Activity
B) animations
C) application
D) tween
سؤال
A sequence of animation instructions defines the Tween animation using either ____________________ or Android code .
سؤال
Coding the tween.xml file layout to display an ImageView control includes creating an Android XML ____ file.

A) Image
B) Layout
C) Content
D) Control
سؤال
A 9-patch image is a special image that has ____ "stretching" areas that maintain the same look on different screen sizes.

A) predefined
B) unlimited
C) undefined
D) open
سؤال
A(n) ____ is a transition that changes objects from one state to another, such as by moving, rotating, growing, or shrinking.

A) tween effect
B) animation
C) animation-list
D) emulator
سؤال
Drawable images in an animation-list are connected to the imgFrame instance by the ____ method.

A) getBackgroundResource
B) setBackgroundImage
C) getBackgroundReference
D) setBackgroundResource
سؤال
The Background property of an image can be set to any full Drawable resource such as a .p n g file, a ____ file, or a solid color designated with hexadecimal code such as #FF0000 for red.

A) .doc
B) 9-patch image
C) .pdf
D) drawable
سؤال
A(n) ____________________ specifies a start state of an object, and then animates the object using a uniform transition type such as rotating a predetermined number of times or an infinite number of times.
سؤال
A series of __________________ on a single image in Tween animations can include changes in position, size, rotation, and transparency on the contents of a View object .
سؤال
Applying the Tween rotation animation, the ____ method begins animating a View object by calling the AnimationUtils class utilities to access the resources necessary to load the animation.

A) viewAnimation
B) getAnimation
C) newAnimation
D) startAnimation
سؤال
Nine-patch graphics are named for their nine areas, called patches, that ____ separately.

A) scale
B) index
C) list
D) draw
سؤال
Maya and Cinema 4D are examples of complex programs that can be used to create professional Android ____________________.
سؤال
The findViewById(R.id.imgNew)  method ____ the ImageView that accesses imgNew in the XML layout file.

A) instantiates
B) displays
C) animates
D) sets
سؤال
If android:oneshot="____," the animation plays once and then stops and displays the last frame.

A) list
B) element
C) true
D) false
سؤال
In Android development, frame-based animations and image transitions are defined as ____.

A) instances
B) images
C) drawables
D) objects
سؤال
When an XML file is added to the Android project, the Resource type Drawable is selected and the animation-list is selected as the ____ element of the XML code.

A) main
B) first
C) last
D) root
سؤال
Android uses an XML file-creator utility that supports ten different ____________________ types.
سؤال
Creating a new Android XML file requires the resource type, a filename, and a(n) ____________________.
سؤال
The start( ) method launches the animation xml file displaying the ____________________ items.
سؤال
Connect the ____________________ for the animation-list in an animation xml file by typing imgFrame.setBackgroundResource(R.drawable.animation) .
سؤال
Common ____________________ animations include rotating timers, e-mail symbols, Activity icons, page-loading animations, cartoons, and other useful user interface elements .
سؤال
After associating AnimationDrawable with the animation images and coding the buttons, you can use the ____________________ ( ) and ____________________ ( ) methods of the drawable objects to control the Frame animation.
سؤال
The AnimationDrawable object can be accessed using the ____________________ method.
سؤال
Buttons using a setOnClickListener await user ____________________.
سؤال
____________________ and Tween animation are two types of animation provided by Android.
سؤال
A new ____________________ project has an Application Name, a Package Name, and an Activity name.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 10: Move Creating Animation and Graphics
1
Tween animation creates an animation by performing a series of ____ on a single image such as position, size, rotation, and transparency on the contents of a View object.

A) transformations
B) projections
C) animations
D) waves
A
2
Insert an ImageView control and its properties in the main.xml file to specify precise settings for the ____.

A) button
B) control
C) layout
D) frame
B
3
____, an attribute of the animation-list, determines whether an animation plays once and then stops or continues to play until the Stop Animation button is tapped.

A) Class
B) AnimationDrawable
C) Motion tween
D) Android:oneshot
D
4
Frame animation is also called ____ animation.

A) Tween
B) frame-by-frame
C) stochastic
D) sequence
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
To create an Android application with Frame or Tween animation, which of the following processes must the developer be able to perform?

A) Adding a Frame animation XML file to the project
B) Coding the OnClickListeners for button controls
C) Running the frame-by-frame animation application
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
The layout specifications for the frame image and button controls reside within the main.xml file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
A motion tween specifies the end state of an object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
Animation of an object by a motion tween uses a uniform transition type such as rotating an infinite number of times.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
Animation displays many ____ in rapid succession or displays many changes to one image to create the illusion of movement.

A) orientations
B) activities
C) images
D) apps
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
Frame animation assigns a sequence of photos to play as in a slide show with a predefined interval between images.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
Android provides three types of animation: Frame, Wave, and Tween animation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
In the Android code, an animation-list root element references images stored in the drawable folders.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
The Package Name for the Wave Animation Project is net.androidbootcamp.waveanimation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
Tween animation uses a sequence of images similar to Frame animation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
An instance of AnimationDrawable is instantiated as a class variable because it is used in multiple methods within the Main class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
To create a layout that displays two controls side by side, you can nest a(n) ____ within a Linear layout.

A) Tween animation
B) Relative layout
C) Frame animation
D) Animation-list
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
In the Linear layout, an ImageView control displays the animation images.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
The ____ property can be included in the animation-list code to determine how many times to play the animation.

A) series
B) image
C) oneshot
D) layout
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
The oneshot attribute is added to the code in the opening ____ tag.

A) logic list
B) animation-list
C) linked list
D) drawable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
By setting the android:oneshot attribute of the animation-list to ____, the animation plays repeatedly until the Stop Animation button is tapped.

A) item
B) main
C) true
D) false
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
To create the illusion of movement, a cartoon image can be displayed on the screen and repeatedly replaced by a new image that is similar, but slightly advanced in the ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
The ____ provides the methods for Drawable animations to create a sequence of frame-by-frame images.

A) switch
B) emulator
C) AnimationDrawable class
D) startAnimation method
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
Button controls use ____ to await user interaction.

A) getButton
B) setOnClickListener
C) btnStart
D) btTween
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
____ is a cross-platform graphics API that specifies a standard software interface for 3D graphics processing hardware and uses a coordinate system to map the image to the screen.

A) 3DGraphics
B) AnimationGraphics
C) GraphicsLibrary
D) OpenGL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
For the application in Chapter 10, the Android Manifest file must be updated to include the ____ and to remove the title bar in the theme to provide more display room for the animation.

A) second Activity
B) animations
C) application
D) tween
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
A sequence of animation instructions defines the Tween animation using either ____________________ or Android code .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
Coding the tween.xml file layout to display an ImageView control includes creating an Android XML ____ file.

A) Image
B) Layout
C) Content
D) Control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
A 9-patch image is a special image that has ____ "stretching" areas that maintain the same look on different screen sizes.

A) predefined
B) unlimited
C) undefined
D) open
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
A(n) ____ is a transition that changes objects from one state to another, such as by moving, rotating, growing, or shrinking.

A) tween effect
B) animation
C) animation-list
D) emulator
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
Drawable images in an animation-list are connected to the imgFrame instance by the ____ method.

A) getBackgroundResource
B) setBackgroundImage
C) getBackgroundReference
D) setBackgroundResource
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
The Background property of an image can be set to any full Drawable resource such as a .p n g file, a ____ file, or a solid color designated with hexadecimal code such as #FF0000 for red.

A) .doc
B) 9-patch image
C) .pdf
D) drawable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
A(n) ____________________ specifies a start state of an object, and then animates the object using a uniform transition type such as rotating a predetermined number of times or an infinite number of times.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
A series of __________________ on a single image in Tween animations can include changes in position, size, rotation, and transparency on the contents of a View object .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
Applying the Tween rotation animation, the ____ method begins animating a View object by calling the AnimationUtils class utilities to access the resources necessary to load the animation.

A) viewAnimation
B) getAnimation
C) newAnimation
D) startAnimation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
Nine-patch graphics are named for their nine areas, called patches, that ____ separately.

A) scale
B) index
C) list
D) draw
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
Maya and Cinema 4D are examples of complex programs that can be used to create professional Android ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
The findViewById(R.id.imgNew)  method ____ the ImageView that accesses imgNew in the XML layout file.

A) instantiates
B) displays
C) animates
D) sets
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
If android:oneshot="____," the animation plays once and then stops and displays the last frame.

A) list
B) element
C) true
D) false
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
In Android development, frame-based animations and image transitions are defined as ____.

A) instances
B) images
C) drawables
D) objects
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
When an XML file is added to the Android project, the Resource type Drawable is selected and the animation-list is selected as the ____ element of the XML code.

A) main
B) first
C) last
D) root
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
Android uses an XML file-creator utility that supports ten different ____________________ types.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
Creating a new Android XML file requires the resource type, a filename, and a(n) ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
The start( ) method launches the animation xml file displaying the ____________________ items.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
Connect the ____________________ for the animation-list in an animation xml file by typing imgFrame.setBackgroundResource(R.drawable.animation) .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
Common ____________________ animations include rotating timers, e-mail symbols, Activity icons, page-loading animations, cartoons, and other useful user interface elements .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
After associating AnimationDrawable with the animation images and coding the buttons, you can use the ____________________ ( ) and ____________________ ( ) methods of the drawable objects to control the Frame animation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
The AnimationDrawable object can be accessed using the ____________________ method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
Buttons using a setOnClickListener await user ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
____________________ and Tween animation are two types of animation provided by Android.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
A new ____________________ project has an Application Name, a Package Name, and an Activity name.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.