2013년 5월 30일 목요일

Android Property Animation

이전 블로그에서 이전 함 (원본 글 2013/05/30 작성)

특정 widget에 animation 효과를 주는 방법이 필요 했었는데
아래와 같이 간단한 방법(Property Animation)이 있었다.



Animation

The Android framework provides two animation systems: property animation (introduced in Android 3.0) and view animation. Both animation systems are viable options, but the property animation system, in general, is the preferred method to use, because it is more flexible and offers more features. In addition to these two systems, you can utilize Drawable animation, which allows you to load drawable resources and display them one frame after another.
Property Animation
Introduced in Android 3.0 (API level 11), the property animation system lets you animate properties of any object, including ones that are not rendered to the screen. The system is extensible and lets you animate properties of custom types as well.
View Animation
View Animation is the older system and can only be used for Views. It is relatively easy to setup and offers enough capabilities to meet many application's needs.
<dt style="color: rgb(34, 34, 34); font-family: Roboto, sans-serif; font-size: 14px; line-height: 19px; background-color: rgb(249, 249, 249);">Drawable Animation</dt><dd style="margin: 0px 0px 10px 30px; color: rgb(34, 34, 34); font-family: Roboto, sans-serif; font-size: 14px; line-height: 19px; background-color: rgb(249, 249, 249);">Drawable animation involves displaying Drawable resources one after another, like a roll of film. This method of animation is useful if you want to animate things that are easier to represent with Drawable resources, such as a progression of bitmaps.</dd>


Property Animation 예제 따라하기




Property 설명

http://underclub.tistory.com/351


안드로이드 API Demo 중에서 Layout Animation를 참고하는 것을 추천.

댓글 없음:

댓글 쓰기