如何在 xml android 中显示大于等于
How to show greater than equal to in xml android
我知道使用 >= 但它的工作方式类似于 (>=)。如何在 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" />
我知道使用 >= 但它的工作方式类似于 (>=)。如何在 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" />