Android Open Source - MultiTouchImageView Main






From Project

Back to project page MultiTouchImageView.

License

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.

Java Source Code

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 ) );
      }
    } );
  }
}




Java Source Code List

com.taig.widget.MultiTouchImageView.java
com.taig.widget.StretchedImageView.java
com.taig.widget.sample.Advanced.java
com.taig.widget.sample.Main.java
com.taig.widget.sample.Simple.java
com.taig.widget.sample.Stretched.java