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
  • 47
  • 9

1 Answers1

0

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

Alex
  • 832
  • 2
  • 14