Michael
Michael

Reputation: 2128

Listview onclick display options?

I currently have a listview which displays summarised data, i have an onlcick listener which works fine, but I was wondering what the best option would be to display all the data of the selected item?

I don't want to use toast, too small. Need a back button to return to the listview.

Upvotes: 0

Views: 294

Answers (2)

Onuray Sahin
Onuray Sahin

Reputation: 4135

I don't know the size of data, but here is a suggestion for you. Create a new Activity and set android:theme="@android:style/Theme.Dialog" attribute of Activity in Manifest file. So the Activity will have a Dialog appereance like this.

Upvotes: 1

Michell Bak
Michell Bak

Reputation: 13252

Your question is a bit vague, but I think I know what you're asking. Have you tried an AlertDialog or perhaps a custom class/Activity with the dialog theme?

Upvotes: 0

Related Questions