Set the FontSize Of Numbers = 30

Yes, I already tried it:

1 Like

Osama was after changing a character in a TEXTBOX :wink:

1 Like

I think Osama could use labels instead of textboxes, his textbox is readonly.
Rather I wonder what he can do with a multiline textbox or a label.

2 Likes

Thanks @Anke for the help in debugging. I've Solved both and will upload it after I solve the TextBox thing, if possible. Have to dig out through many sources. :sweat_smile:

I didn't notice it was a texbox, sorry.

Waste in Haste.

Thank you all for helping me!
I hope you can find the solution [SHUBHAMR69]

1 Like

@Anke and @TIMAI2

Could you please test this version.

ShubhamText.aix (7.7 KB)

Not 100 % sure if it will work, but it should, because EditText extends TextView.

The only next option that I know for now, is SpannableStringBuilder.

My Internet Quota is exhausted so I'm having problems in connecting, so I can't test.

Edit : The toIndex property was taking one less index fixed it and updated this post.

2 Likes

Yes, it seems to work now also with TextBox.

1 Like

Yes, this seems to work.....

Observations

  1. cannot set a smaller relative size once a larger one is set, without resetting the textbox :frowning:
  2. relative size accepts decimals - e.g. 1.25, 1.5 :slight_smile:
  3. Allows for setting of multiple selections, with different sizes :slight_smile:
1 Like

Maybe using SpannableStringBuilder might solve this. Wait a while.

Could perhaps do with a reset function?

1 Like

Example on Osama's numbers

image

image

1 Like

grafik

1 Like

Ok Adding that. But at this moment it will reset only the last used component.

fromIndex (included) toIndex (excluded):

1 Like

Added the Reset() function.

@TIMAI2 Is it working ?
@Anke I tried to solve this one too, please check once more.

Much thanks to both of you. :smiley:

ShubhamText.aix (8.1 KB)

Much thanks to all of you. :smiley:
I will try it now and let you know SHUBHAMR69

1 Like

I tried it and there is a message Runtime Error

image

This is my trying block

1 Like

Yes, there is a problem...

1 Like

I don't get this error.


Anke
would you please show the blocks you have