DataTable
DataTable is a library for create material data table simply. In this version it is only possible to create tables with string values. Soon, image fields, checkbox fields, input fields and etc will be possible.
This library is optimized for both ltr and rtl languages
this library is compatible to androidx
Preview
Setup
The simplest way to use this library is to add the library as dependency to your build.
Gradle
Step 1. Add it in your root build.gradle at the end of repositories:
Step 2. Add the dependency
Usage
XML
Java
field weight is in integer value for determine field width. This value is relative and field size depends on the weight of the other fields.
For example, if a field weight be 2 and other field weight be 4, This means that the width of the second field is twice that of the width of first field.
Also, you can define unlimited number of fields.
You can set xml attributes programmatically