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

How to change text color of drawerlist item? #55

Open
cactis opened this issue Oct 9, 2014 · 0 comments
Open

How to change text color of drawerlist item? #55

cactis opened this issue Oct 9, 2014 · 0 comments

Comments

@cactis
Copy link

cactis commented Oct 9, 2014

In Conference sample,

@drawerList = Android::Widget::ListView.new(self)
@drawerList.adapter = Android::Widget::ArrayAdapter.new(self, Android::R::Layout::Simple_list_item_1, MenuTitles)
@drawerList.choiceMode = Android::Widget::AbsListView::CHOICE_MODE_SINGLE
@drawerList.dividerHeight = 0
@drawerList.backgroundColor = Android::Graphics::Color::DKGRAY
@drawerList.onItemClickListener = self

we can change drawerList's backgroundColor, but how to change item color?

thanks.

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

1 participant