Note that there are some explanatory texts on larger screens.

plurals
  1. POfixed first TableRow android
    primarykey
    data
    text
    <p>I have a table layout inside this table I defined a tablerow with 4 edittexts as columns headers.</p> <p>My problem is that I want to make this static row as a fixed position, so while I scroll the screen down this row position doesn't changed.</p> <p>I load the other rows dynamically from DB.</p> <p>thank for help!</p> <p>this is my xml code:</p> <pre><code>&lt;HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/horizontalScrollView1" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/background"&gt; &lt;ScrollView android:id="@+id/scrollViewPhysicalExam" android:layout_width="match_parent" android:layout_height="match_parent" &gt; &lt;LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"&gt; &lt;TableLayout android:id="@+id/TLArchiveHeader" android:layout_height="wrap_content" android:layout_width="match_parent"&gt; &lt;TableRow style="@style/HeaderRow"&gt; &lt;TextView style="@style/HeaderText" android:layout_width="200dp" android:text="Owner name"/&gt; &lt;TextView style="@style/HeaderText" android:layout_width="200dp" android:text="Phone" /&gt; &lt;TextView style="@style/HeaderText" android:layout_width="200dp" android:text="Address" /&gt; &lt;TextView style="@style/HeaderText" android:layout_width="200dp" android:text="Mail" /&gt; &lt;TextView style="@style/HeaderText" android:layout_width="200dp" android:text="Fax" /&gt; &lt;/TableRow&gt; &lt;/TableLayout&gt; &lt;/LinearLayout&gt; &lt;/ScrollView&gt; &lt;/HorizontalScrollView&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload