Skip to content

How to change text color of drawerlist item? #55

@cactis

Description

@cactis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions