scrollview - Android: 2 Synchronously Scrollable TableLayouts -
i created tablelayout scrollable in directions. create fixed header created tablelayout. have 2 scrollable tablelayouts.
but when scroll 1 tablelayout other tablelayout not scrolling. how can make them scroll synchronously?
this layout:
<linearlayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/container" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <twodscrollview android:id="@+id/scroll" android:layout_width="fill_parent" android:layout_height="wrap_content"> <tablelayout android:id="@+id/tablelayouthours" android:layout_width="fill_parent" android:layout_height="wrap_content" android:stretchcolumns="0"/> </twodscrollview> <twodscrollview android:id="@+id/scroll2" android:layout_width="fill_parent" android:layout_height="fill_parent"> <tablelayout android:id="@+id/tablelayoutlineup" android:layout_width="fill_parent" android:layout_height="wrap_content" android:stretchcolumns="0"/> </twodscrollview> </linearlayout>
Comments
Post a Comment