Askaです.
ImageViewを継承したクラス(例MyImageView)を作成し,
その中でScaleGestureDetectorを使ってピンチイン・アウトを認識し,
拡大・縮小を行います.
そして, 作成したカスタムビューを使ってレイアウトを記述すればOKです.
・res/layout/main.xml
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="
http://schemas.android.com/apk/res/
android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<ViewFlipper android:id="@+id/flipper"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<include android:id="@+id/layout01" layout="@layout/photo01" /
>
<include android:id="@+id/layout01" layout="@layout/photo02" /
>
</ViewFlipper>
</FrameLayout>
・res/layout/photo01.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="
http://schemas.android.com/apk/res/
android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<com.moonlight_aska.android.viewflippersample.MyImageView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/photo01" />
</LinearLayout>
一応, ページ内での拡大, 縮小, 移動は一応確認できました.
ScaleGestureDetectorによるピンチイン・アウトについては,
http://blog.livedoor.jp/moonlight_aska/archives/50660605.html
を参照してください.