ImageSwitcher 에서 보여주던 이미지를 다이얼로그에 띄울려고 작게 만들었더니,

다이얼로그가 종료된 후에도 작게 만들어진채로 ImageSwitcher 처리가 되네요 @_@

별도로 Drawable 을 복사해주기 위한 단 한줄~! -0-


Drawable newDrawable = originDrawable.getConstantState().newDrawable();


요렇게 하시면 새로운 drawable 생성됩니다. :D

 
블로그 이미지

AP4ILL

Time just fades the pages in my book of memories..

카테고리

분류 전체보기 (198)
2012년 이전 (165)
2013년 (25)
2014년 (7)