Notice
Link
- Today
- Total
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- CentOS
- pid 찾아 kill
- 시간대별 통계
- c언어
- MySQL
- reactnative
- 코드로 서버 재실행
- SQL
- rn
- Activity 전체화면
- sql exception
- 스크롤적용
- MariaDB
- kill -9
- 피쉬랜드
- 파티션 빠른 삭제
- CSS
- 시간대 테이블생성
- MFC
- ffmpeg
- view 획득
- springboot
- 가변영역 스크롤
- group by
- springboot 재가동
- Back 키 클릭 감지
- mybatis exception
- 터치좌표 view
- 말줌임 CSS
- vc++
Archives
개발은 하는건가..
Android 애니메이션 drawable 본문
반응형
Drawable 에 xml 을 생성하고 다음과 같이 이미지와 duration 을 지정해준다.
<?xml version="1.0" encoding="utf-8"?>
<animation-list xmlns:android="http://schemas.android.com/apk/res/android"
android:oneshot="false" >
<item
android:drawable="@drawable/sc04_04_gif_call04_04"
android:duration="300"/>
<item
android:drawable="@drawable/sc04_04_gif_call02_01"
android:duration="300"/>
<item
android:drawable="@drawable/sc04_04_gif_call02_02"
android:duration="300"/>
<item
android:drawable="@drawable/sc04_04_gif_call03_03"
android:duration="500"/>
</animation-list>
만들어진 drawable xml 은 ImageView 에 설정한다.
<ImageView
android:src="@drawable/생성한_애니메이션_drawable_xml">
'Java, Android' 카테고리의 다른 글
Android View Animation stop 또는 재시작 (0) | 2022.06.21 |
---|---|
Android ListView Divider 없에기 (0) | 2022.06.15 |
[Java] DB 에서 BLOB (바이너리 데이터) 읽어오기 (0) | 2022.03.08 |
카메라 영상 동영상 파일로 저장 (0) | 2018.11.06 |
컬러 이모지 아이콘이 지원되지 않는 4.x 버젼 이하에서 이모지 지원하기 (0) | 2018.11.02 |
Comments