Robert Valentino Well-Known Member Licensed User Longtime User Dec 18, 2014 #1 Since upgrading to B4A 4.0 I keep seeing this message in the logs to Add SetApplicationAttribute(android:theme, "@android:style/Theme.Holo") to the manifest Well when I do TabHost does not work correctly ANY text specified in AddTab2 becomes UPPERCASED and Two words (in my case "Mystery Doubles") on a line becomes Two words one on Two lines. IS ANYONE else seeing this problem with TabHost after setting the Theme.Holo? Other then removing the command from the manifest is there a fix for this? NOTE: To verify that this is not just my program I have taken Erel's TabHost example and added the SetApplicationAttribute and his examples NOW show ALL CAPS for the tabs text. BobVal
Since upgrading to B4A 4.0 I keep seeing this message in the logs to Add SetApplicationAttribute(android:theme, "@android:style/Theme.Holo") to the manifest Well when I do TabHost does not work correctly ANY text specified in AddTab2 becomes UPPERCASED and Two words (in my case "Mystery Doubles") on a line becomes Two words one on Two lines. IS ANYONE else seeing this problem with TabHost after setting the Theme.Holo? Other then removing the command from the manifest is there a fix for this? NOTE: To verify that this is not just my program I have taken Erel's TabHost example and added the SetApplicationAttribute and his examples NOW show ALL CAPS for the tabs text. BobVal
Erel B4X founder Staff member Licensed User Longtime User Dec 19, 2014 #2 This is how TabHost looks by default in the holo theme. Note that images will not show at all. It is possible to override it by setting a custom theme. I think that you will get better results with ViewPager: https://www.b4x.com/android/forum/posts/274149/ Upvote 0
This is how TabHost looks by default in the holo theme. Note that images will not show at all. It is possible to override it by setting a custom theme. I think that you will get better results with ViewPager: https://www.b4x.com/android/forum/posts/274149/