1

I've got a problem with redrawing listView rows after manual scrolling top-bottom. It looks like this (notice black stripes which should not be there):

(sorry stackOverflow was having problem with uploading image).

Each row is a custom component based on linear layout and is pretty empty right now. It is swype cell component (user can swype the cell left or right, to show left or right view).

I'm using a baseAdapter subclass where I have the following getView method:

@Override
public View getView(int arg0, View arg1, ViewGroup arg2) {

    String infService = Context.LAYOUT_INFLATER_SERVICE;
    LayoutInflater li = (LayoutInflater)context.getSystemService(infService);
    SwypeCell v = (SwypeCell) li.inflate(R.layout.row_accounts_accounts, arg2, false);

    return v;
}

So my question is - how to get rid off these black stripes and redraw my custom row properly?

EDIT:

I think it is somehow connected with my custom component. The problem is when my custom component is a root component of the layout. The problem is solved when I put my custom component in FrameLayout.

Marcin Szulc
  • 141
  • 2
  • 13

0 Answers0