Drawable 발표

  • View
    718

  • Download
    8

Embed Size (px)

DESCRIPTION

Drawable에 대해서 ppt자료 소스코드 포함

Text of Drawable 발표

  • 1. Drawable Resource

2. 01 Class Overview A Drawable is a general abstraction for "something that can be drawn."Most often you will deal with Drawable as the type of resource retrievedfor drawing things to the screen;the Drawable class provides a generic API for dealing with an underlyingvisual resource that may take a variety of forms.Unlike a View, a Drawable does not have any facility to receive eventsor otherwise interact with the user. 3. 02 Drawable ,

  • Drawable 3
  • ( )
  • XML (Drawable properties XML )
  • .

4. 03 drawable resouce image ImageView ,Layout . 5. 04 XML

  • XML
  • XML drawable
  • res/drawable/
  • Resources.getDrawables()
  • 3. XML ID
  • .

[ 1] (save) [ 2] 6. 05 7. 06 AnimationDrawable AnimationDrawable(xml) 8. 07 AnimationDrawable AnimationDrawable(code) 9. 08 Q & A