Hello all,

I currently have an app that uses a full screen FrameLayout that
contains three simple views with background images that the user can
drag left and right by setting their leftMargin when the user presses
on them. One is static in the middle, one is like a slider to the left
and the other a slider to the right.

What I am trying to do is move some widgets, TextEdits, and Spinners
at the same time as the views are moved.  If they can be contained
within the view somehow, or they can all travel together as part of
some larger tag, I would be very grateful to know the answer. I'm
pretty new and very lost.  My layout XML is below:

Thanks a ton,
Cody



<FrameLayout xmlns:android="http://schemas.android.com/apk/res/
android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/Board" android:layout_gravity="top">

<View android:background="@drawable/car"
android:layout_height="280px"
android:layout_width="584px"
android:id="@+id/Pawn" android:layout_gravity="top">

</View>
<View android:background="@drawable/productdetails"
android:layout_height="280px"
android:layout_width="584px"
android:id="@+id/ProductDetails" android:layout_gravity="top">

</View>



<View android:background="@drawable/requestmore"
android:layout_height="280px"
android:layout_width="584px"
android:id="@+id/RequestMore" android:layout_gravity="top">

</View>

<Spinner android:id="@+id/yearSpin" android:layout_width="570px"
android:layout_height="57px" android:layout_x="400px"
android:layout_y="108px"></Spinner>

<Spinner android:id="@+id/modelSpin" android:layout_width="570px"
android:layout_height="57px" android:layout_x="400px"
android:layout_y="198px"></Spinner>

<Spinner android:id="@+id/configSpin" android:layout_width="570px"
android:layout_height="57px" android:layout_x="400px"
android:layout_y="288px"></Spinner>

<Spinner android:id="@+id/trimSpin" android:layout_width="570px"
android:layout_height="57px" android:layout_x="400px"
android:layout_y="378px"></Spinner>



</FrameLayout>

-- 
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

Reply via email to