<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/layoutExsternal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
>
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true">
<TableLayout
android:id="@+id/MineField"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="start"
android:layout_span="3"
android:gravity="top"
android:padding="1dp"
android:stretchColumns="*" >
</TableLayout>
</ScrollView>
</RelativeLayout>
I want to add horizontal scrollview for tablelayout.Because it overflow on horizontal