Back to project page MultiTouchImageView.
The source code is released under:
MIT License
If you think the Android project MultiTouchImageView listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.taig.widget.sample; //from w w w. j a v a 2s . co m import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class Main extends Activity { @Override protected void onCreate( Bundle savedInstanceState ) { super.onCreate( savedInstanceState ); setContentView( R.layout.main ); Button stretched = (Button) findViewById( R.id.button_stretched ); stretched.setOnClickListener( new OnClickListener() { @Override public void onClick( View view ) { startActivity( new Intent( Main.this, Stretched.class ) ); } } ); Button simple = (Button) findViewById( R.id.button_multitouch_simple ); simple.setOnClickListener( new OnClickListener() { @Override public void onClick( View view ) { startActivity( new Intent( Main.this, Simple.class ) ); } } ); Button advanced = (Button) findViewById( R.id.button_multitouch_advanced ); advanced.setOnClickListener( new OnClickListener() { @Override public void onClick( View view ) { startActivity( new Intent( Main.this, Advanced.class ) ); } } ); } }