I need to include the following square root sign in my android as a Text resource in Button control. Any guesses?
The unicode code for square root symbol is 221A
. You can define string resource as:
<string name="square_root_symbol">\u221a</string>
And then use it in your button:
<Button ... android:text="@string/square_root_symbol" />
Copy this and paste in your String resource file.
<string name="sqr_root">√¯¯</string>
Here is the Result:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With