Android R.java file
<p>Static id in R.java files are generated automatically but can i give then custom values to make my work easier. I have 8 Imagebuttons i need to set images on them by using this code for every button.</p>

<pre><code>ImageButton button4 = (ImageButton)findViewById(R.id.iButton4);
setImagesOnButtons(myContactList.get(3).getPhotoId(),button4);
</code></pre>

<p>instead of doing this can i change ids of button in R.java to 1,2,3...
and put the above code in a for loop like this</p>

<pre><code> for(i=0;i&lt;8;i++)
 {
ImageButton button4 = (ImageButton)findViewById(i);
setImagesOnButtons(myContactList.get(3).getPhotoId(),i);
} 
</code></pre>
