Example #1
0
 /**
  * Sets the selector drawable.
  *
  * @param b the new selector bitmap
  */
 public void setSelectorBitmap(Bitmap b) {
   mViewBehind.setSelectorBitmap(b);
 }
Example #2
0
 /**
  * Sets the selector drawable.
  *
  * @param res a resource ID for the selector drawable
  */
 public void setSelectorDrawable(int res) {
   mViewBehind.setSelectorBitmap(BitmapFactory.decodeResource(getResources(), res));
 }