본문 바로가기

RamaFam

검색하기
RamaFam
프로필사진 RamaFam

  • (7)
    • 여행 (0)
    • IT-Work (0)
      • ANDROID (0)
      • IOS (0)
      • 이클립스 (0)
      • 맥북 (0)
    • 공부 (5)
      • 정보처리기사 (5)
Guestbook
Recent Posts
Recent Comments
«   2025/09   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Tags
  • Android
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Android (1)

RamaFam

Animation 에서의 interpolator

구글 샘플 프로젝트animation > interpolators 텍스트 뷰를 좌에서 우로 에니메이션 시키는 예제.. 1. 레이아웃중 에니메이션 시킬 뷰와 부모 뷰를 얻는다.final View target = findViewById( R.id.target );final View parent = (View) target.getParent(); 2. 이동 에니메이션 객체를 생성한다. Animation a = new TranslateAnimation(0.0f,parent.getWidth() - target.getWidth() - parent.getPaddingLeft() - parent.getPaddingRight(), 0.0f, 0.0f); //에니메이션 설정a.setDuration(1000);a.setSta..

카테고리 없음 2018. 8. 28. 16:47
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바