I need to create a list with an attached overlay image on top of the top line and the next line, as shown below.
Thank you very much.
set the image layout parameters, i.e. size does not exceed parent view
LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(30, 30); yourImageView.setLayoutParams(layoutParams);