{ "id": "61729", "key": "TIMOB-1097", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-16T19:38:05.000+0000", "created": "2011-04-15T02:43:59.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-06-27T15:29:37.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

There are a couple of possibly related problems with trying to\r\nrun a fullscreen application in Android. The first is with the\r\nsplash screen. There should be a way to have the splash screen\r\ndisplay on the whole screen, but this is not the case despite the\r\ntiapp.xml configuration in this screenshot which shows both the\r\nemulator and the code:

\r\n

http://skitch.com/kwhinnery/dgmps/fullscreen

\r\n

Also, once the app launches, you should be able to open a window\r\nfullscreen with no title - this would be necessary for an app to go\r\ntotally fullscreen:

\r\n

http://skitch.com/kwhinnery/dgmp7/fullscreen

{html}\r\n\r\nh5. Test Code\r\n{code} in theme.xml\r\n \r\n{code}\r\n\r\nh5. Expected behavior\r\nThe splash screen should be displayed full screen with no title bar\r\n\r\nh5. Actual behavior\r\nThe title bar, is displayed. During build the theme.xml gets reset, causing the title bar to be displayed.\r\nh5. Work-around\r\n\r\nThere is a workaround posted in community Q and A.\r\nout one way to resolve this problem. 1) Create folders \\platform\\android\\res\\values (see KitchenSink folder structure) 2) Put in folder \"values\" the file theme.xml modifyed (i.e. )\r\n", "attachment": [], "flagged": false, "summary": "Android: Titlebar is displayed when fullscreen splash screen is used.", "creator": { "name": "kevinwhinnery", "key": "kevinwhinnery", "displayName": "kevinwhinnery", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "124834", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

To get the effect the res/values/theme.xml file is going to have\nto be updated to use a different base Theme based on the settings\nin tiapp.xml

\n

For just no title (navBarHidden : true) Theme.NoTitle instead of\njust Theme

\n

For truly fullscreen (navBarHidden : true, fullscreen : true)\nuse Theme.NoTitle.Fullscreen

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:43:59.000+0000", "updated": "2011-04-15T02:43:59.000+0000" }, { "id": "124835", "author": { "name": "jeff", "key": "jeff", "displayName": "Jeff", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Thank you Don, this post was a lifesaver. In order to get this\nwork in Titanium SDK 1.3.x, make the following changes:

\n

-In theme.xml (res/values/theme.xml) file, change the the file\nto read the following:

\n
\n\n\n\n
\n
\n<item name=\"android:windowBackground\">@drawable/background</item>\n<item name=\"android:windowNoTitle\">true</item>\n
\n
\n\n\n
\n\n\n
\n

-Now, in your window declaration, make sure both fullscreen:\ntrue and navBarHidden: true are set (or only the splash screen will\nappear fullscreen without a title). MAKE SURE THAT THE 'TITLE'\nvalue isn't set at all, not even to blank.

\n

I look forward to the fix in 1.4!

\n

-

{html}", "updateAuthor": { "name": "jeff", "key": "jeff", "displayName": "Jeff", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:43:59.000+0000", "updated": "2011-04-15T02:43:59.000+0000" }, { "id": "124836", "author": { "name": "jeff", "key": "jeff", "displayName": "Jeff", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Sorry! Let me fix my post a bit (should have RTFM on formatting\n:)

\n

In order to fix this in 1.3.x, do the following:

\n

-In theme.xml (res/values/theme.xml) file, change the style\nelement to the file to read the following:

\n
\n<style name=\"Theme.Titanium\" parent=\"@android:Theme.NoTitleBar.Fullscreen\">\n    <item name=\"android:windowBackground\">@drawable/background</item>\n    <item name=\"android:windowNoTitle\">true</item>`\n</style>\n
\n

-Now, in your window declaration, make sure both fullscreen:\ntrue and navBarHidden: true are set (or only the splash screen will\nappear fullscreen without a title). MAKE SURE THAT THE 'TITLE'\nvalue isn't set at all, not even to blank. Like so:

\n
\nvar win1 = Titanium.UI.createWindow({\n    backgroundColor:\"#eb367a\",\n    fullscreen: true,\n    navBarHidden: true,\n    top:0\n});\n
\n

I look forward to the fix in 1.4!

{html}", "updateAuthor": { "name": "jeff", "key": "jeff", "displayName": "Jeff", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:43:59.000+0000", "updated": "2011-04-15T02:43:59.000+0000" }, { "id": "130790", "author": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "body": "rollback wrong update", "updateAuthor": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "created": "2011-04-15T07:24:25.000+0000", "updated": "2011-04-15T07:24:25.000+0000" }, { "id": "181507", "author": { "name": "dgandhi", "key": "dgandhi", "displayName": "Devang Gandhi", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Requesting a schedule for this fix in the next patch for a customer - MobiManage. Even though there is a work-around, customer is requesting a full fix for this.", "updateAuthor": { "name": "dgandhi", "key": "dgandhi", "displayName": "Devang Gandhi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-02T12:25:38.000+0000", "updated": "2012-02-02T12:25:38.000+0000" }, { "id": "195056", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Setting true with latest 2.1 CI build I can't reproduce the issue.\r\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-16T14:48:09.000+0000", "updated": "2012-05-16T14:48:09.000+0000" }, { "id": "200681", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix with\r\nTitanium Studio, build: 2.1.0.201206251749\r\nTitanium SDK: 2.1.0.v20120626204252\r\n\r\nLG VS910 4G\r\nAndroid version 2.3.6\r\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-27T15:29:37.000+0000", "updated": "2012-06-27T15:29:37.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }