0
私は4枚の写真を撮っているAndroidアプリを持っています。 これらの画像をクワッドビューとして1つの画像に並べたいと思います。複数の画像をクワッドビュー画像に並べる方法
だから、最終的なイメージは基本的に含まれている4枚
PIC1のPIC2
PIC3 PIC4
私は4枚の写真を撮っているAndroidアプリを持っています。 これらの画像をクワッドビューとして1つの画像に並べたいと思います。複数の画像をクワッドビュー画像に並べる方法
だから、最終的なイメージは基本的に含まれている4枚
PIC1のPIC2
PIC3 PIC4
1つのオプションは、このようなレイアウトを作成することです:
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:id="@+id/pic1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<ImageView
android:id="@+id/pic2"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:id="@+id/pic3"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<ImageView
android:id="@+id/pic4"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
私が持っていると思いますすべての4つの画像を含み、Facebookに送ることができる最後の1つの新しい画像。 – tobias
@tobiasの場合、この[link](https://stackoverflow.com/questions/15151937/how-to-combine-multiple-images-into-a-single-image-in-android) –