Center horizontaly and/or verticaly with 9 patch in Android
===

I can't find a topic talking about my problem which seems to me standard ... And that make me think it is not possible. But I give a try.

I have a RelativeLayout with a 9 patch background (which contain a content area).

Is that possible to center horizontaly and/or verticaly a TextView inside this RelativeLayout in relation to the content area ?



