0

<!DOCTYPE html>
<html>
<head>
<style>
table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
}
th, td {
    padding: 15px;
}
</style>
</head>
<body>

<table style="width:100%">
  <tr>
    <th>S.NO</th>
    <th>Description</th> 
    <th>Observation</th>
  </tr>
  <tr>
    <td>1</td>
    <td>Check the U/S Wheel assembly and the accompanying documents are available.</td>
    <td>-</td>
  </tr>
  <tr>
    <td>2</td>
    <td>Check the tyre pressure as received condition _________________ Psi.</td>
    <td>-</td>
  </tr>
  <tr>
    <td>3</td>
    <td>Carryout leak test on Over inflation Valve <input type="checkbox"> & Thermal fuse<input type="checkbox"></td>
    <td>-</td>
  </tr>
</table>



</body>
</html>

How to create this kind of table in android with run-time value?
I want to create listview with mix of checkbox and edittext to fill the survey form.
example shown in snippet, kindly look over it. Kindly help me get out from this. Thanks in advance.

5
  • sigh What have you tried so far? Have you created the listview yet? If there're only 3 rows then you probably don't need a listview. Check out how to create Tables in android Commented Dec 3, 2017 at 13:27
  • its an sample data, the list contain more than 100 row Commented Dec 3, 2017 at 13:36
  • Then check out how to create listviews or recyclerviews Commented Dec 3, 2017 at 14:34
  • how can i create list with combination of checkbox and edittext if required Commented Dec 3, 2017 at 15:54
  • Possible duplicate of Android listview with editText and checkbox for each element Commented Dec 3, 2017 at 16:09

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.