Creating Expandable Grid View - android

I have Bunch of images and their description as shown in the pic below. I have already done the setting up the images inside gridview. Now i want to add tap to show description functionality, I have seen many stackoverflow answers, but didn't find any concrete solution. Please help me...

Related

Android Multiple Level[3] Expandable List View

I tried to implement a expandable list view with 3 levels, this was implemented using http://androidcodesnips.blogspot.in/2011/09/three-level-expandable-list.html example. But here, I couldn't open the last item. When I open it, child items of this were hidden by below item.enter image description here
Please see the attachment.
Can anyone help me to fix this issue?

How to get a click event on Horizontalscrollview in android?

I have a requirement to design a Horizontalscroll list to show the list of dynamically obtained images in the list.Upon clicking on any item on the list it has to be shown on the Image view above the list.I tried many examples provided in the blogs. But they dont extend thier explanations towards obtaining the index of the Horizontalscrollview or getting resourceid of the image on which user has tapped. Knowledged please guide me on this.
Ps. I tried with galleryview as well But, I am not supposed to work using this as it is deprecated.
Regards,
Gururaj
Elsalam Alykom
you can use ViewPager
try this link
http://android-er.blogspot.com.eg/2014/04/example-of-viewpager-with-custom.html

How do I roll out this view in my Android application?

I have a complex ListView involved layout in my Android project that looks something like the picture attached. The layout has a top, fixed part (the meeting details) with TextViews Join, Edit and Delete that are clickable (really listen to onTouch events), with Edit and Delete only showing up for the meeting owner/creator.
There is, however, the ListView part below the fixed part as well, and this part has a number of unknown comments, presumably posted by people who have been invited to the meeting. Anyone whose account has access to this meeting, and who sees this layout can comment on this meeting information layout. However, only comments created by a person have the links Edit or Delete (again, onTouch listeners on those TextViews). In this way, think of this page as the detail page when you click on post in Facebook and you see all the comments posted, but are only able to edit/delete your own comments.
I thought I could set out with a solution like this page, with the top, fixed part and the ListView in the same fragment layout, but that will only work if I have the same links for all the comments. That is not the case for me, because the links Edit and Delete for each comment will only show up if the comment is by the comment author.
How should I do this? Do I have to write my own Adapter? Is that the only way? How would I go about writing my own Adapter? Any pointers/tutorials/links appreciated.
Lastly, I was wondering how I can set listeners for each clickable item on the comments. I know I have to use setTag() and getTag(), but don't know where to do this.
Any help is deeply appreciated.
Vogella.com has some good android tutorials. Here is one for writing a custom adapter. The android docs also have a tutorial on listviews, but it doesn't look like they tell you how to do custom adapters. They do, however, tell you how to handle clicks on the list view.
You can setup your comment view to display the Edit and Delete buttons or not in the getView() method of your BaseAdapter class.

Expandable Listview:Click text header to display images in child

I am new to android.I find a tutorial(http://www.tutorialsbuzz.com/2014/07/custom-expandable-listview-image-text.html) that wasn't useful at all.
I need to do a expandable listview:Click text header to display one image in child.I couldn't find any blogs or tutorials related to this.I find that one but finally it wasn't useful to me.I need a demo related to that.Thank you.

How to drag and drop between different GridViews?

I would like to make an app with 3 GridView. The first is to distribute the content to the other GridView using drang and drop.
Problem: I don't know how to do to exchange the image between the gridViews. I looked for some examples of GridView: DraggableGridView , drag-drop-for-android-gridview, but I couldn't find about exchange the images between the gridViews.
If someone know how to do it, some example or tutorial, help.
Thanks in advance.

Categories

Resources