私はアンドロイドアプリケーションを開発しています。そして私は同じ行にたくさんのTextViewを持っています。 しかし、TextViewが大きくなると、新しい行に移動しますが、左に揃えません。Android - align textViewsの問題
これは私が必要なものである:
これは私が今持っているものです。
マイコード:
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp">
<ImageView
android:layout_width="10dp"
android:layout_height="10dp"
android:layout_gravity="center_vertical"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:src="@drawable/arrow_right" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/due_after"
android:textColor="@color/black" />
<TextView
android:id="@+id/tv_due_days"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="3dp"
android:layout_marginLeft="3dp"
android:layout_marginRight="3dp"
android:layout_marginStart="3dp"
android:text=" 500 days"
android:textColor="@color/red" />
<TextView
android:id="@+id/tv_redemption"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/from_earn_date"
android:textColor="@color/black" />
</LinearLayout>