protected float onDoubleTapPost( float scale, float maxZoom ) {
if ( mDoubleTapDirection == 1 ) {
if ( ( scale + ( mScaleFactor * 2 ) ) <= maxZoom ) {
mDoubleTapDirection = -1;
float scaledata = scale + mScaleFactor;
return 2.5f;//scale + mScaleFactor;
} else {
return maxZoom;
}
} else {
mDoubleTapDirection = 1;
return 1f;
}
}
Thứ Ba, 21 tháng 1, 2014
Chủ Nhật, 5 tháng 1, 2014
E-Learning Android
http://javatechig.com/android/android-listview-tutorial
http://javatechig.com/android/android-handler-example
http://www.kilobolt.com/day-11-threads-and-graphics.html
///ListView Custom & Animation
http://blog.sephiroth.it/2011/04/04/imageview-zoom-and-scroll/
http://javatechig.com/android/android-handler-example
http://www.kilobolt.com/day-11-threads-and-graphics.html
///ListView Custom & Animation
http://blog.sephiroth.it/2011/04/04/imageview-zoom-and-scroll/
Thứ Năm, 2 tháng 1, 2014
Đăng ký:
Bài đăng (Atom)