1 답변
-
안드로이드 오픈소스중에 TouchImageView라고 아주 좋은 오픈소스가 있습니다. https://github.com/MikeOrtiz/TouchImageView 자세한건 여기에서 보시면 되시고요.
TouchImageView img = (TouchImageView) findViewById(R.id.img);
기본적으로는 이런식으로 사용합니다.xml에서는
<com.example.touch.TouchImageView android:id="@+id/img” android:layout_width="match_parent" android:layout_height="match_parent" />
이런식으로 정의해줍니다.
댓글 입력