title: Change image width on Java
body: <p>Hi I added this comment to the code to show a background when i press , but it show the image all is working except , the image is too small , but the image size correspond on the size of the device , how can i set the size , or force it to be </p>
  
  <pre><code>setBackgroundResource(R.drawable.slider_bg);
  </code></pre>
  
  <p>there is the full code </p>
  
  <pre><code>switch (action) {
      case MotionEvent.ACTION_DOWN: {
          mTracking = true;
          mTriggered = false;
          vibrate();
          if (leftHit) {
              mCurrentSlider = mLeftSlider;
              mOtherSlider = mRightSlider;
              mThreshold = isHorizontal() ? THRESHOLD : 1.0f - THRESHOLD;
              setGrabbedState(OnTriggerListener.LEFT_HANDLE);
              setBackgroundResource(R.drawable.slider_bg_right);
          } else {
              mCurrentSlider = mRightSlider;
              mOtherSlider = mLeftSlider;
              mThreshold = isHorizontal() ? 1.0f - THRESHOLD : THRESHOLD;
              setGrabbedState(OnTriggerListener.RIGHT_HANDLE);
              setBackgroundResource(R.drawable.slider_bg_left);
          }                  
          mCurrentSlider.setState(Slider.STATE_PRESSED);
          mCurrentSlider.showTarget();
          mOtherSlider.hide();
          break;
      }
  }
  </code></pre>
  
  <p>cheers</p>