Make Table layout rows scrollable In android
<TableLayoutandroid:id="@+id/tblHeaders"
android:layout_width="450dp"
android:layout_height="100dp"
android:layout_alignParentTop="true"
android:layout_marginLeft="5dp"
android:layout_marginTop="5dp" >
</TableLayout>
<ScrollView
android:layout_width="fill_parent"
android:layout_height="100dp"
android:background="#FFFFFF" >
<HorizontalScrollView
android:layout_width="fill_parent"
android:layout_height="450dp"
android:background="#FFFFFF" >
<TableLayout
android:id="@+id/tblData"
android:layout_width="450dp"
android:layout_height="100dp"
android:layout_marginLeft="5dp"
android:layout_marginTop="0dp" >
</TableLayout>
</HorizontalScrollView>
</ScrollView>
Note: Adjust height and width of both tables as necessory.
Make Table layout rows scrollable In android
Reviewed by Anonymous
on
November 29, 2015
Rating:
No comments: