Prosg Active Member Licensed User Longtime User Feb 1, 2013 #1 to reproduce : I dw this exemple : http://www.b4x.com/forum/basic4android-getting-started-tutorials/6721-tabhost-tutorial.html When run, the icon is display with the text "Name" because the project was compile in 2.3 TabHost1.AddTabWithIcon ("Name", bmp1, bmp2, "page1") If u create a new project with 2.50, the tabhost image never be display if there is a text I test it again with the tabhost sample, i create a new project in 2.50 and copy all the sample and again the icon is not display if i have a text
to reproduce : I dw this exemple : http://www.b4x.com/forum/basic4android-getting-started-tutorials/6721-tabhost-tutorial.html When run, the icon is display with the text "Name" because the project was compile in 2.3 TabHost1.AddTabWithIcon ("Name", bmp1, bmp2, "page1") If u create a new project with 2.50, the tabhost image never be display if there is a text I test it again with the tabhost sample, i create a new project in 2.50 and copy all the sample and again the icon is not display if i have a text
Erel B4X founder Staff member Licensed User Longtime User Feb 2, 2013 #2 This is not related to v2.50. It is related to the new Android 4 style. In Android 4 style the icon will only appear if there is no text. You can force the old style by removing android:targetSdkVersion="14" from the manifest editor. Upvote 0
This is not related to v2.50. It is related to the new Android 4 style. In Android 4 style the icon will only appear if there is no text. You can force the old style by removing android:targetSdkVersion="14" from the manifest editor.