0

Androidで写真コラージュアプリを作りたいです。どこから始めればよいかわかりません。誰かが私を助けることができれば、私はこれを達成することができます。1 つのレイアウトで 3 つのビューを使用していると思いますが、写真のコラージュを実現する方法がわかりません。画面全体で単一のズームビューを使用し、パンズームも備えたアプリを作成しました。

<com.simpleapps.sceneryphotoframes.zoom.ImageZoomView
xmlns:android="http://schemas.android.com/apk/res/android" 
android:id="@+id/zoomview"
android:layout_width="fill_parent" 
android:layout_height="fill_parent" 
/>

しかし、それは一つの見方でした。複数の写真に対してそれを行う方法を知りたいです。よろしくお願いします。

4

1 に答える 1

0

疑問に思っている人にとって、それは簡単でした..

複数のカスタム ビューを追加しました。

 <LinearLayout 
android:id="@+id/parentviewLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal" >

<com.simpleapps.photocollage.PanZoomView
android:id="@+id/zoomview1"
android:layout_weight="1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>
<com.simpleapps.photocollage.PanZoomView1
android:id="@+id/zoomview2"
android:layout_weight="1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>
<com.simpleapps.photocollage.PanZoomView2
android:id="@+id/zoomview3"
android:layout_weight="1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>

</LinearLayout>
于 2014-01-18T04:50:43.667 に答える