public void paintClicked(View view) {
    // use chosen color

    if (view != currPaint) {
      // update color

      ImageButton imgView = (ImageButton) view;
      String color = (String) view.getTag();
      drawView.setColor(Color.parseColor(color), clientID);
      drawView.paintColor = Color.parseColor(color);

      imgView.setImageDrawable(getResources().getDrawable(R.drawable.paint_pressed));
      currPaint.setImageDrawable(getResources().getDrawable(R.drawable.paint));
      currPaint = (ImageButton) view;
    }
  }