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

Adding Header Text. #51

Closed
ArtistFling opened this issue Sep 7, 2016 · 2 comments
Closed

Adding Header Text. #51

ArtistFling opened this issue Sep 7, 2016 · 2 comments
Assignees

Comments

@ArtistFling
Copy link

Hi ,

Im trying to add text to the header but failing.
How can it be done?

What i have tried,

TableView<String[]> tableView = (TableView<String[]>) getView().findViewById(R.id.view12);
tableView.setHeaderBackground(R.color.accent);
SimpleTableHeaderAdapter simpleTableHeaderAdapter = new SimpleTableHeaderAdapter(container,false, R.string.id, R.string.alarm, R.string.Add);
tableView.setHeaderAdapter(simpleTableHeaderAdapter);

@ISchwarz23 ISchwarz23 self-assigned this Sep 9, 2016
@ISchwarz23
Copy link
Owner

Hi @albean,

I wonder about the parameters you pass to the SimpleTableHeaderAdapter. Seems like you are passing a Boolean where an Integer is expected. Could this be the issue?

Best regards,
Ingo

@ISchwarz23
Copy link
Owner

Closed because there was no feedback after more than 3 monthes.

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

No branches or pull requests

2 participants