V
V
Vanes Ri_Lax2015-08-17 07:13:21
Java
Vanes Ri_Lax, 2015-08-17 07:13:21

How to highlight a ListView item?

Hello, I have a ListView with 3 items in it. I did everything according to the example here
How can I make the 2nd element selected by default?
Thank you very much in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
one pavel, 2015-08-17
@onepavel

On the toaster, they discussed several times how to change the background of elements.
Create an adapter for the listview and do whatever you want in the getview method

D
Dmitry Bolshakov, 2015-08-25
@enq3

Answered in your new question

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question