Hello.

I'm trying to change the text style of some strings I keep in
strings.xml. I have a textView in a layout xml file that will contain
the strings. The strings themselves are kept in strings.xml and are
accessed and added to the textView programmatically (after obtaining a
handle to the textView rather than in the xml file). In the layout xml
file, I also set the android:textStyle setting to "bold|italic". The
program compiles and runs correctly and I can indeed see the strings
in the textView. The italic style works fine. However, the bold style
simply doesn't work! I have also tried using only "bold" instead of
"bold|italic" but to no avail. Also, I tried using <b></b> labels in
strings.xml around the strings, but it too doesn't seem to have any
effect.

The strings themselves are all in Hebrew. I discovered that if I
change the text to English, both bold and italic work fine! So it has
something to do with Hebrew in Android. But why? And if this problem
exists in Hebrew, it probably also exist in other languages as well.
For your note, Hebrew is a right-to-left language.

Can anyone please help me solve the problem?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to