padding issue while setting a image as background in android
<p>Hello
In my android application i am using a image as background initially.
Then on top of that i need to place small images and on top of the small images i would like to place a textview with some text on it.</p>

<p>I am using below code for that.With this am able to place the small images but the textview if i am trying to place it place in the next row and not over the image.
I also tried with adding the image as the background and then placing textview but at that case the padding and size of the image is not getting decreased.</p>

<pre><code>      TableLayout table = (TableLayout)findViewById(R.id.FirstTable);
       TableRow tr = new TableRow(this);
      tr.setId(i);
      tr.setPadding(0, 25, 0, 10);
       ImageView imageView = new ImageView(this);
       imageView.setLayoutParams(new TableRow.LayoutParams(60, 60));

        imageView.setImageResource(R.drawable.bookicon);

        tr.addView(imageView);
          table.addView(tr);
</code></pre>

<p>Is there any way that i can have the images of size 60 by 60 and place a textview on top of these images.</p>

<p>Please share your valuable suggestions.</p>

<p>Thanks in advance:)</p>
