我知道使用> =,但它的工作方式像(> =)。如何在Android XML上显示> _?<string name="greaterThanOrEqual">>=</string>
仅显示> =
。
我想这样显示:
最佳答案
声明为string.xml
<string name="special_symbol" >\u2265</string >
采用
<TextView
android:id="@+id/textView"
android:textSize="20sp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/special_symbol" />
请参阅this file format link