Is it possible to have Part of string element to be of different size in Strings.xml



This is a string in Strings.xml



<string name="st">"BB HA \n 3432"</string>


I want part of string before new line(\n) to be of different size and part of string after new line to be of different size..Is it possible..I am using it in text view as follows.TextView is part of table row.-



<TextView
android:id="@+id/textView32"
android:paddingBottom="10dp"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:paddingTop="10dp"
android:textColor="#788495"
android:text="@string/st"
/>

No comments:

Post a Comment