Mobile Computing [Assignment :- 04]

Assignment :- 04 (Chapter 7,8,9)
  1. Define View & ViewGroup. Differentiate View with ViewGroup.
  2. Write a note on Hierarchy Viewer Tool.
  3. What is Layout? Explain following layouts for designing interface with example. (purpose, tag, major attributes, xml file code example, screen design, when it is more suitable?)
    1. LinearLayout
    2. FrameLayout
    3. RelativeLayout
    4. TableLayout.
  4. Explain in brief ArrayAdapter & CursorAdaptter. Differentiate ArrayAdapter vs. CursorAdapter.
  5. Explain following container controls with suitable example.
    1. ListView
    2. GalleryView
    3. GridView
  6. Explain tab control with suitable example.
  7. Explain appropriate methods of paint class to perform following tasks.
    1. To set color (setColor())
    2. Paint antialiasing
    3. Setting style (setStyle())
    4. Applying gradient effect (setShader())
    5. Setting text effects (text size, set typeface)
  8. Explain various methods of the canvas to draw Circle, Rectangle, RoundedRectangle, Oval, Text (Method name, example).
  9. Explain  Linear Gradient, Radial Gradient, Sweep Gradient paint gradients.
  10. How to set “Bitmap” on canvas? Explain following operations on Bitmap picture.
    1. Scaling
    2. Rotate
    3. Scale
  11. Write example to draw following objects using ShapeDrawable.
    1. Rectangle
    2. Rounded Rectangle
    3. Oval & Circle
    4. Arc
    5. Line
    6. Path
  12. How android supports animation? Differentiate frame-by-frame vs. Tweened animation.
  13. Explain frame-by-frame animation with example.
  14. Explain Tweened animation (animation as xml resource & programmatically, sequential tweened animation example) with following transformations.
    1. Transparency
    2. Rotating
    3. Scaling
    4. Movement
  15. What is interpolator? List & explain different interpolator.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s