Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text alignment in the SortableTableView #196

Open
omkarghurye1998 opened this issue May 12, 2020 · 1 comment
Open

Text alignment in the SortableTableView #196

omkarghurye1998 opened this issue May 12, 2020 · 1 comment

Comments

@omkarghurye1998
Copy link

I want to align text in one column to the left and the text in other column to the right

Want a result as specified in the link below:
https://drive.google.com/open?id=1YkWoI_s40n77IPAzIk2I3370t4nlJkP8

Please help me !!!!!!

@ISchwarz23
Copy link
Owner

Hey,

you can achieve this by creating your custom table data adapter. This adapter should return a TextView for each cell. Depending on the column index you can set the gravity of the TextView to left or right.

Best regards,
Ingo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants