I want to show two images in a linear view - the foreground image and
the next image (imagine being able to swipe to the next photo).

Here's some ascii art to show what I'm trying to achive :)

+-------------------+
|                     |-------+
|                     |        |
|                     |        |
|                     |-------+
+-------------------+

    <LinearLayout android:orientation="horizontal"
                  android:layout_height="240px"
                  android:layout_width="fill_parent">
                <ImageView android:id="@+id/NextPic"
                           android:layout_width="200px"
                           android:layout_height="200px"
                           android:layout_gravity="right"
                           android:src="@drawable/default_pic">
                </ImageView>
                <ImageView android:id="@+id/CurrentPic"
                           android:layout_width="240px"
                           android:layout_height="240px"
                           android:src="@drawable/default_pic">
                </ImageView>
        </LinearLayout>

Instead what's happening is that it's putting the images side by side
(predictable).

tia.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to