본문 바로가기 메뉴 바로가기

SIM's Review

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

SIM's Review

검색하기 폼
  • 분류 전체보기 (91)
    • Paradigm (24)
      • CleanCode (2)
      • OOP (22)
    • Language (61)
      • C++ (7)
      • C (17)
      • Java (11)
      • Android (20)
      • Computer Vision (6)
    • et cetera (5)
  • 방명록

스크롤 (1)
[Android] 블러 효과

요즘 블러효과로 꾸며진 어플리케이션이 자주 나온다. 스크롤을 내렸을때, 정해진 지점까지 블러효과를 낼 수있는 방법에 대해 알아보자. 블러효과는 16버전 이후에 나온 기능이다.public static Bitmap blur(Context ct, Bitmap sentBitmap, int radius) { if (VERSION.SDK_INT > 16) { Bitmap bitmap = sentBitmap.copy(sentBitmap.getConfig(), true); final RenderScript rs = RenderScript.create(ct); final Allocation input = Allocation.createFromBitmap(rs, sentBitmap, Allocation.MipmapCont..

Language/Android 2014. 6. 21. 00:06
이전 1 다음
이전 다음
최근에 올라온 글
최근에 달린 댓글
글 보관함
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바