1

I have a ListView backed up by a BaseAdapter. The layout that I'm using is a RelativeLayout with some TextViews and ImageViews that are rendering ok. The problem is that I want to overlay anther layout with top of select list view item with match the parent height and width, and background color transparent. How to do it ?

enter image description here

Lucifer
  • 29,392
  • 25
  • 90
  • 143
venu
  • 2,971
  • 6
  • 40
  • 59

1 Answers1

4

Your root layout must be FrameLayout.

<FrameLayout>

   <RelativeLayout>
       <!-- This is your existing relative layout -->
   <RelativeLayout>



   <AnyLayoutHere>

       <!-- This will be your overlay that you can hide or show -->
   </AnyLayoutHere>



</FrameLayout>
s4m0k
  • 568
  • 1
  • 4
  • 12