How to write this >
in the XML.
<TextView
android:id="@+id/textView4"
android:text="10 > 5"
android:textStyle="bold"
android:textSize="30sp"/>
How to write 10 > 5 in android xml
How to write this >
in the XML.
<TextView
android:id="@+id/textView4"
android:text="10 > 5"
android:textStyle="bold"
android:textSize="30sp"/>
How to write 10 > 5 in android xml
Put this in your strings.xml
file
<string name="_10_5"><![CDATA[10 > 5]]></string>
and use it in xml
android:text="@string/_10_5"
For more Information about CDATA check this
Hope you get the idea