Check out example codes for "why touchable opacity to take width of its child". It will help you in understanding the concepts better.

Code Example 1

You can actually use alignSelf: 'flex-start' or 'flex-end' depending on which side you want to pin

Learn ReactJs, React Native from akashmittal.com