how to make picture focus when selected
<p>hello am find a solution of stackover flow wheni implement this answer which link is below i found a error (R.styleable.Gallery1 )  what is it? it is any specifc value or separte folder??
<a href="http://stackoverflow.com/questions/3633370/answer/submitis">android circular gallery?</a> seprate folder or ny specific value?? can annyone tel me.
code is this</p>

<pre><code> public class TestGallery extends Activity {
/** Called when the activity is first created. */

  private Integer[] mImageIds = { R.drawable.sample_1, R.drawable.sample_2,       
R.drawable.sample_3, R.drawable.sample_4 }; 

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

Gallery g = (Gallery) findViewById(R.id.gallery); 
g.setAdapter(new ImageAdapter(this)); 

 g.setOnItemClickListener(new OnItemClickListener() { 
    public void onItemClick(AdapterView parent, View v, int position, long id) { 
        if (position &gt;= mImageIds.length) { 
            position = position % mImageIds.length; 
        } 
        Toast.makeText(TestGallery.this, "" + position, Toast.LENGTH_SHORT).show(); 
    } 
 }); 

 }

 public class ImageAdapter extends BaseAdapter { 
 int mGalleryItemBackground; 
 private Context mContext; 

public ImageAdapter(Context c) { 
    mContext = c; 
    TypedArray a = obtainStyledAttributes(R.styleable.Gallery1); 
    mGalleryItemBackground =     
a.getResourceId(R.styleable.Gallery1_android_galleryItemBackground, 0); 

    a.recycle(); 
} 

public int getCount() { 
    return Integer.MAX_VALUE; 
} 

public Object getItem(int position) { 
    if (position &gt;= mImageIds.length) { 
        position = position % mImageIds.length; 
    } 
    return position; 
} 

public long getItemId(int position) { 
    if (position &gt;= mImageIds.length) { 
        position = position % mImageIds.length; 
    } 
    return position; 
} 

public View getView(int position, View convertView, ViewGroup parent) { 
    ImageView i = new ImageView(mContext); 
    if (position &gt;= mImageIds.length) { 
        position = position % mImageIds.length; 
    } 
    i.setImageResource(mImageIds[position]); 
    i.setLayoutParams(new Gallery.LayoutParams(80, 80)); 
    i.setScaleType(ImageView.ScaleType.FIT_XY); 
    i.setBackgroundResource(mGalleryItemBackground); 
    return i; 
 } 

 public int checkPosition(int position) { 
    if (position &gt;= mImageIds.length) { 
        position = position % mImageIds.length; 
    } 
    return position; 
} 
}}
</code></pre>
