Overlapping the image on two lines in the list

I need to create a list with an attached overlay image on top of the top line and the next line, as shown below.

image pinned a row and overlaped over row1 and row2

Thank you very much.

+4
source share
1 answer

set the image layout parameters, i.e. size does not exceed parent view

LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(30, 30); yourImageView.setLayoutParams(layoutParams); 
0
source

All Articles