Question: I'm trying to render a child component by mapping multiple props at the same time. What I'd like to do is:

```
const Parent = props => {
  const whatever = props.(***need to pass both props***).map((firstProp, secondProp)  => (
    <Child
      key={//}
      firstProp={firstProp}
      secondProp={secondProp}
    />
  )); 

  return (
    <div>
      {whatever}
    </div>
  );
}

```

What's the right way to do that?

Answer: 
Use

```
android:textAlignment="viewEnd"

```

and text will be aligned regardless of its content, but still depended on the layout direction.

The Documentation [here](https://developer.android.com/reference/android/view/View#attr_android:textAlignment):

> 
> Align to the end of the view, which is ALIGN\_RIGHT if the view's
> resolved layoutDirection is LTR, and ALIGN\_LEFT otherwise.
> 
> 
>
If your system language is RTL, You can force ltr languages to align as rtl by using

```
android:textDirection="locale"

```