title: android gallery without background
body: <p>i followed the ApiDemo to create a gallery.</p>
  
  <p>but i don't need the background of each item , so i marked these code:</p>
  
  <pre><code> public ImageAdapter(Context c) {
              mContext = c;
              // See res/values/attrs.xml for the &lt;declare-styleable&gt; that defines
              // Gallery1.
  **//            TypedArray a = obtainStyledAttributes(R.styleable.Gallery1);
  //            mGalleryItemBackground = a.getResourceId(
  //                    R.styleable.Gallery1_android_galleryItemBackground, 0);
  //            a.recycle();**
          }
  
  
  public View getView(int position, View convertView, ViewGroup parent) {
              ImageView i = new ImageView(mContext);
  
              i.setImageResource(mImageIds[position]);
              i.setScaleType(ImageView.ScaleType.FIT_XY);
              i.setLayoutParams(new Gallery.LayoutParams(48, 48));
  
              // The preferred Gallery item background
             **// i.setBackgroundResource(mGalleryItemBackground);**
  
              return i;
          }
  </code></pre>
  
  <p>then , i met a  problem :</p>
  
  <p>the default first selected item( also the first item) is bright ,</p>
  
  <p>but after a start to drag , and the selected item be changed , all items looked dark.....</p>
  
  <p>i don't know how to set the alpha back , let the item looks bright.......could someone help me?</p>