-
Notifications
You must be signed in to change notification settings - Fork 240
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
How to colorize the divider? #6
Comments
Hi DragonSpirit,
|
How do you actually add a divider for rows of your choice color? I give color to rows based on my business logic. Now there are some rows with same color. I need a divder of 1dp at the bottom of each row view. |
You can do so by specifying <de.codecrafters.tableview.TableView
android:id="@+id/tableView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="@color/black"
android:dividerHeight="1dip"
... /> |
Why the documentation is not complete, like for example the case of divider. I have been searching for minutes. Thanks for the information too, it works 👍 , Can I do it programmatically using setDividerDrawable(). it was not working before ? |
No, unfortunatelly there is no programatical way to do so. But the documentation will be extended with the divider xml tags. |
Hello! Does library can colorize divider or make it transperent?
android:divider and .setDividerDrawable won't work at all
Thanks!
The text was updated successfully, but these errors were encountered: