how to scroll a TableLayout ?

Put your problem here if it does not fit any of the other categories.

how to scroll a TableLayout ?

Postby clementlb » Mon Jan 24, 2011 7:16 pm

Hi !

I'd like to scroll my TableLayout to the right.

It looks like :

<TableLayout
android:background="#55771B"
android:id="@+id/TableLayout01"
android:layout_height="100px"
android:layout_width="700px"
android:layout_x="-660dip"
android:layout_y="150dip">
<TextView
android:background="#010101"
android:gravity="center"
android:layout_marginLeft="3px"
android:clickable="true"
android:id="@+id/TextView01"
android:layout_marginTop="3px"
android:textSize="40px"
android:layout_marginBottom="3px"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginRight="3px" android:enabled="true" android:textColor="#FFD6D6D6" android:text=""
android:onClick="onClickLeft" >
</TextView>
</TableLayout>

When you click on the TableLayout to the extreme left (it's just a copy/paste of the one at the center) I'd like both of them to scroll to the right. Like this :

Image

Image

Image

How could I do ?

Thanks !
clementlb
Freshman
Freshman
 
Posts: 3
Joined: Sat Jan 01, 2011 1:25 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 15 guests