Faceles
Faceles

Reputation: 453

Android composite background

I want to do a composite background. There are 3 images, let's call them "И","О","N" and I want make the "O" part as resizable color and "И", "N" will be an images.

How can I achive this using drawable xml?

Upvotes: 1

Views: 524

Answers (1)

Ihor DIM
Ihor DIM

Reputation: 689

Just use 9-patch. There you can specify stretchable background areas.

Upvotes: 1

Related Questions