I was just reading about one of the Drawables that I think can layer them... In fact LayerDrawable I think.
Take a look at the example section on Drawables, and the docs for the LayerDrawable. - brill On Dec 9, 11:34 pm, darrinps <[email protected]> wrote: > I have an image that I split into four parts and would like to combine > it back into one large image on my splash screen but am having a > little trouble figuring out just how to do this. > > I have it like this so far: > > <TableLayout > android:id="@+id/TableLayout01" > android:stretchColumns="*" > android:layout_height="wrap_content" > android:layout_width="fill_parent"> > <TableRow > android:id="@+id/Row01" > android:layout_height="wrap_content" > android:layout_width="wrap_content" > android:layout_gravity="center_vertical| > center_horizontal"> > <ImageView > android:id="@+id/ImageUpperLeft" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:layout_gravity="center_vertical| > center_horizontal" > android:src="@drawable/upperleft"></ImageView> > <ImageView > android:id="@+id/ImageUpperRight" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:layout_gravity="center_vertical| > center_horizontal" > android:src="@drawable/upperright"></ImageView> > </TableRow> > <TableRow > android:id="@+id/Row02" > android:layout_height="wrap_content" > android:layout_width="wrap_content" > android:layout_gravity="center_vertical| > center_horizontal"> > <ImageView > android:id="@+id/ImageLowerLeft" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:layout_gravity="center_vertical| > center_horizontal" > android:src="@drawable/lowerleft"></ImageView> > <ImageView > android:id="@+id/ImageLowerRight" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:layout_gravity="center_vertical| > center_horizontal" > android:src="@drawable/lowerright"></ImageView> > </TableRow> > </TableLayout> > > That gets the left and right halves aligned vertically, but they are > separated in the middle some what. > > Anyone know how to set them to where they butt up against one another > in the middle to form one big photo? > > Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

