Nima Ahmadi
Nima Ahmadi

Reputation: 41

How to implement non-scrollable listview in android?

I'm designing an activity for my android application. I want to show the user some items(items are in an ArrayList).

I've done it using ListView but I want the whole activity to be scrollable not the ListView. I wanted to post image here to show what I want to do but I'm new here so I can't! but here is something like that:

http://upload7.ir/images/69088559301910500020.png

Upvotes: 0

Views: 540

Answers (1)

Moises Jimenez
Moises Jimenez

Reputation: 1962

Use a LinearLayout or whatever layout you're using for your Activity and put it inside a ScrollView.

Upvotes: 1

Related Questions