I am tyring to display a TextView that contains two sentences and I want them to be one after the other like this:
AAAAAA: BBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBB
where A... is the first word\part of sentence and B... is a second sentence.
the size of A... & B... isn't constant.
tried doing this:
<RelativeLayout
style="@style/f13"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<TextView
android:id="@+id/first_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="AAAAAA: " />
<TextView
style="@style/f15"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"
android:layout_toRightOf="@id/first_text" />
</RelativeLayout>
but i got:
AAAAAA: BBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBB
and i want the second (B...) sentence to continue below the first sentence (A...) i should add that sentence A... & B... have different styles.
the style for A:
<style
name="f13">
<item name="android:typeface">sans</item>
<item name="android:textSize">15dp</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">@color/grey_dark_emperor</item>
</style>
the style for B:
<style
name="f15">
<item name="android:typeface">sans</item>
<item name="android:textSize">17dp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@color/grey_dark_emperor</item>
</style>
any thoughts ?