I have to open a sub window on clicked list item. This window contain three buttons these are also clickable. See Screenshot.
In iphone it is possible using TableRow. Is there way in android like iphone or any different way
create you layout including this expanded View that you want to show on ListItem Click
add the following code to Your LISTViewclick listener where actually want to make it visible
Count is a variable to check if number of times it is clicked is even or odd so as to make it visible and invisible accordingly.
IF((count%2)==0)
{
linearLayout.setvisibilty(View.GONE);
}
else
{
linearLayout.setvisibilty(View.VISIBLE);
}
linearLayout
here is your required layout in the screen shot... (design that layout using and set its parent layout visibilty to GONE
)
set it to invisible at the starting. and make it visible on itemclick accordingly
giving you a rough idea you can customize the code accordingly
Hope it helps. I had used same tricks many time to make such things happen