<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

Recommended Answers

All 2 Replies

1) Force landscape layout
2) Redisign your portrait layout

Yup peter is right.

commented: Pointless reopening of old post -3
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.