Skip to content Skip to sidebar Skip to footer

Tablelayout In Scrollview Not Working

My fragment loads its data into a tablelayout inside a scrollview. At first, it will load saying 'Click on image to view more data'. I have a onclick listener from the gallery tha

Solution 1:

 Create Tablelaout in this way




<?xml version="1.0" encoding="utf-8"?>
    <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent">



      <TableLayout
            android:id="@+id/data_table"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            >
  </TableLayout>
    </ScrollView>

Post a Comment for "Tablelayout In Scrollview Not Working"