开发者

ListView in a Relative Layout

开发者 https://www.devze.com 2023-01-25 02:00 出处:网络
Howdy, I would like to implement a ListView in a Relative Layout - however, that ListView should not be scrollable. Meaning: It should show all of it\'s elements in the RelativeLayout/LinearLayout.

Howdy, I would like to implement a ListView in a Relative Layout - however, that ListView should not be scrollable. Meaning: It should show all of it's elements in the RelativeLayout/LinearLayout.

The elements should change the colors on touch and call an intent on click.

What would be the best approach to reach that goal? CustomListView implementation, maybe I don开发者_StackOverflow中文版't even need to use a listview?


What would be the best approach to reach that goal?

Have a very short list. ListView only scrolls if you have more items than fits on the screen.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号