Beispiel #1
0
 public PhotoView(Context context, AttributeSet attr, int defStyle) {
   super(context, attr, defStyle);
   super.setScaleType(ScaleType.MATRIX);
   init();
 }
Beispiel #2
0
 @Override
 protected void onAttachedToWindow() {
   init();
   super.onAttachedToWindow();
 }