0

I want to set "<" as button text using xml.

my button is here.

<Button
            android:text="<"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:id="@+id/button1" />

See the error

Monk
  • 57
  • 1
  • 10

1 Answers1

0

Try adding "<" as a string resource, and then using that string.

Alex
  • 962
  • 4
  • 15