title: Images/TextViews in ListView shift a bit
body: <p>TextViews in my ListView change position by a few centimeters if i scroll the list. I think the problem is that the listView is recycling the rows if they arent visible after the scroll-movement. But I dont know how to fix this. And I did not find out when the shift of the TextView appears. Sometimes there isnt any problem and sometimes nearly all entries have a little shift</p>
  
  <pre><code>private class ListAdapter extends ArrayAdapter&lt;Player&gt; {
      public ListAdapter() {
          super(Activity.this, R.layout.entry2, playerList);
      }
  
      @Override
      public View getView(final int position, View convertView, ViewGroup parent) {
          View itemView = convertView;
  
          final Player player = playerList.get(position);
  
          if (itemView == null) {
              itemView = getLayoutInflater().inflate(R.layout.entry2, parent, false);
          }else{
  
          }
  
  
          TextView playerName = (TextView) itemView.findViewById(R.id.PlayerName);
          ImageButton delButton = (ImageButton) itemView.findViewById(R.id.playerDel);
          TextView playerBild = (TextView)  itemView.findViewById(R.id.PlayerBild);
          playerName.setText(player.getName());
          playerBild.setBackgroundResource(player.getColor());
  
          playerBild.setForeground(player.playerPic);
  
  
          return itemView;
      }
  }
  </code></pre>
  
  <hr>
  
  <pre><code>&lt;android.support.design.widget.CoordinatorLayout     xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  tools:context="com.example.app.app.Main"&gt;
  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:gravity="top"
      android:orientation="vertical"
      android:padding="10dp"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="70dp"
          android:layout_marginTop="10dp"
          android:clipToPadding="false"
          android:gravity="center"
          android:orientation="horizontal"&gt;
  
          &lt;LinearLayout
              android:layout_width="70dp"
              android:layout_height="70dp"
              android:gravity="center"
              android:orientation="vertical"&gt;
  
              &lt;TextView
                  android:id="@+id/PlayerBild"
                  android:layout_width="60dp"
                  android:layout_height="60dp"
                  android:background="@drawable/color_player0" /&gt;
  
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:layout_width="212dp"
              android:layout_height="90dp"
              android:gravity="center"
              android:orientation="vertical"&gt;
  
              &lt;TextView
                  android:id="@+id/PlayerName"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_marginTop="4dp"
                  android:text="Let's Drink"
                  android:textColor="@color/black"
                  android:textSize="24sp" /&gt;
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:gravity="center"
              android:orientation="vertical"&gt;
  
              &lt;ImageButton
                  android:id="@+id/playerDel"
                  android:layout_width="40dp"
                  android:layout_height="40dp"
                  android:background="@android:drawable/ic_menu_close_clear_cancel"
                  android:clickable="true"
                  android:padding="10dp" /&gt;
  
          &lt;/LinearLayout&gt;
      &lt;/LinearLayout&gt;
  
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>