Exemplo n.º 1
0
 /**
  * Sets the selector drawable.
  *
  * @param b the new selector bitmap
  */
 public void setSelectorBitmap(Bitmap b) {
   mViewBehind.setSelectorBitmap(b);
 }
Exemplo n.º 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));
 }