I wish to make views highlighted like items in a listview(I use linearlayout instead because listview cannot use addchild() to dynamically add new items)
When a listview item is touched,the item is usually highlight green.How do I implement this feature into views in a linearlayout?
I tried view.requestfocus in the view’s ontouchlistener.this returns true but nothing can be observed.
Thanks in advance!
You can add items to a listview dynamically….
}