Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9931] Android: Tab group doesn't respect transparent on Android, works on iOS.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2013-04-01T18:29:54.000+0000
Affected Version/sRelease 2.1.0, Release 3.1.0
Fix Version/sBacklog
ComponentsAndroid
Labelscore, exalture, parity
ReporterNeville Dastur
AssigneeSunila
Created2012-07-01T03:18:34.000+0000
Updated2017-03-28T21:09:08.000+0000

Description

In app.js set
Ti.UI.backgroundImage = '/bg.png';
On iOS:
var self = Titanium.UI.createWindow({ title: 'Window' });
for the window inside the tab will allow the bg.png image to show through On Android the background image needs to be set. Both
var self = Titanium.UI.createWindow({ title: 'Window' });
and
var self = Titanium.UI.createWindow({ title: 'Window', backgroundImage: 'transparent' });
do not work on android

Attachments

FileDateSize
android.png2013-03-08T08:46:02.000+000012585
iphone.PNG2013-03-08T08:46:02.000+0000167222

Comments

  1. Shameer Jan 2013-03-08

    The problem reproduces with release 3.0.2 and master release 3.1.0 tested on Titanium Studio, build: 3.0.2.201302191606 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 Device: Samsung galaxy s duos Android version: 4.0.4 Android Emulator: Android SDK version: 2.2 iOS iPhone Simulator: iOS SDK version: 6.0 But it works fine on ios emulator . I have attached screenshots
  2. Sunila 2013-04-01

    In Android, tabgroup are heavyweight windows having their own activity.Setting Ti.UI.backgroundImage sets the backgroundImage on the RootActivity window which doesn't affect the TabGroup activity. If all the tabs needs the same background image, set the backgroundImage of the tabgroup. eg. Titanium.UI.createTabGroup({backgroundImage:'/bg.png'});
  3. Lee Morris 2017-03-28

    Closing ticket as invalid.

JSON Source