AndroidDev
AndroidDev

Reputation: 16385

Android Gallery - Customizing the Individual ImageView ?

I have created a Gallery with different images added to it. My Gallery Adapter creates a ImageView in the getView function. Now i want to customize this imageview like add a border and rounded corners. How can i do this ?

Thanks

Upvotes: 0

Views: 83

Answers (1)

Ragunath Jawahar
Ragunath Jawahar

Reputation: 19723

You can add borders to your ImageView by setting a background color and a margin. For rounded corners you can place overlay images or use Android's graphic APIs.

Upvotes: 1

Related Questions