Informatix Expert Licensed User Longtime User Jan 28, 2013 #1 If my manifest contains: AddManifestText( <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="14"/> ... SetApplicationAttribute(android:theme, "@android:style/Theme.Holo") my strings are no longer displayed on several lines in labels (only one line). If I remove the Holo style, all is back to normal. EDIT: I forgot to mention I was under Gingerbread. Last edited: Jan 28, 2013
If my manifest contains: AddManifestText( <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="14"/> ... SetApplicationAttribute(android:theme, "@android:style/Theme.Holo") my strings are no longer displayed on several lines in labels (only one line). If I remove the Holo style, all is back to normal. EDIT: I forgot to mention I was under Gingerbread.
Erel B4X founder Staff member Licensed User Longtime User Jan 28, 2013 #2 Seems like a bug in Android. You can follow the workaround suggested here: android - TextView won't break text - Stack Overflow Which is to use different style based on the api version.
Seems like a bug in Android. You can follow the workaround suggested here: android - TextView won't break text - Stack Overflow Which is to use different style based on the api version.
Informatix Expert Licensed User Longtime User Jan 28, 2013 #3 Erel said: Seems like a bug in Android. You can follow the workaround suggested here: android - TextView won't break text - Stack Overflow Which is to use different style based on the api version. Click to expand... Thank you.
Erel said: Seems like a bug in Android. You can follow the workaround suggested here: android - TextView won't break text - Stack Overflow Which is to use different style based on the api version. Click to expand... Thank you.
R Roger Garstang Well-Known Member Licensed User Longtime User Jan 28, 2013 #4 I did that in my recent libraries where I added code to change themes on the fly. It detects Android version and sets it to the old Dark/Light themes depending on the Holo picked if Holo isn't available.
I did that in my recent libraries where I added code to change themes on the fly. It detects Android version and sets it to the old Dark/Light themes depending on the Holo picked if Holo isn't available.