Even if this question was answered several years ago, I received a different solution for myself. I tried to have some text images in a vertical LinearLayout, all with the same, but with a variable height (depending on their contents).
My decision:
android:paddingLeft="60dp" android:paddingRight="60dp"
(If you want your text images to be thinner than adding a higher fill value)
In LinearLayout: android: paddingLeft = "60dp" android: paddingRight = "60dp"
And set its children (text views):
source share