von den ersten nächster Zeile startet für Textansicht in jeder Zeile
Ich habe zwei Textansicht und ich mag die nächste Zeile vom Beginn des Layouts starten, aber es beginnt, von wo aus der Textansicht platziert wird. Gibt es ein Attribut für die Textansicht, um dies zu erreichen?
<RelativeLayout
android:layout_width="match_parent"
android:layout_marginTop="5dp"
android:id="@+id/relative_english"
android:layout_height="wrap_content">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="MainTranslation:"
android:textColor="@android:color/holo_green_light"
android:id="@+id/english_lable_offer"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="saf"
android:id="@+id/tv_english_show_offer"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/english_lable_offer"
android:layout_toEndOf="@+id/english_lable_offer" />
</RelativeLayout>
Dies ist mein Text Ansichten Code.
aber theier Schriften sind diffrent und ich möchte nicht Spannable verwenden. –
Warum möchten Sie nicht Spannable verwenden? – Berkay92