Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3024] Non-fullscreen splash image

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-05-14T12:44:38.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-18
ComponentsAndroid
Labelsandroid, defect, reported-1.5.0, splash
ReporterShish
AssigneeBill Dawson
Created2011-04-15T03:34:58.000+0000
Updated2011-05-14T12:44:38.000+0000

Description

I see lots of people asking how to make the splash go fullscreen, now it seems to have been set as the default... and I can't turn it off :/

in tiapp.xml, the settings seem to suggest that it should not be fullscreen:

<statusbar-hidden>false</statusbar-hidden>
false
<navbar-hidden>false</navbar-hidden>

I've also edited build/android/res/values/theme.xml, but that gets overwritten in the build process so the changes are lost :(

Comments

  1. Shish 2011-04-15

    Looking at the code, it seems that that option never actually did anything... I've made it so it does and sent a pull request:

    https://github.com/civicboom/titanium_mobile/commit/bf91c736e3f4a0efa29e3090f0a2431adf2121ac"> https://github.com/civicboom/titanium_mobile/commit/bf91c736e3f4a0e...

  2. Stephen Tramer 2011-04-15

    Looks like an android issue from the ticket, assigning to Don for triage.

  3. Bill Dawson 2011-04-15

    This is a defect, but btw if you want custom theme.xml put it in platform/android/res/values/theme.xml, the platform/ folder being a child of your app's root folder (a sibling of Resources).

  4. Bill Dawson 2011-04-15

    Relevant commits:

    https://github.com/appcelerator/titanium_mobile/commit/80f2331288021b7322d7f1e0efca8b033676e48e"> https://github.com/appcelerator/titanium_mobile/commit/80f233128802...

    https://github.com/appcelerator/titanium_mobile/commit/c32a35fe71a7a12a41765f7f782f6ea135ef456b"> https://github.com/appcelerator/titanium_mobile/commit/c32a35fe71a7...

  5. Bill Dawson 2011-04-15

    QE testing:

    Create a new application, and play with the <fullscreen> and <navbar-hidden> settings in tiapp.xml. Setting fullscreen to true means the splash screen should cover everything on the device/emulator, including the top status bar (the bar that shows the time of day). Keeping fullscreen at false but putting navbar-hidden to true should cover the "navbar", which is the bar that shows the application's title. Keeping them both at false should mean that the both the status bar and the nav (title) bar show.

  6. Don Thorp 2011-05-05

    fullscreen:true navbar-hidden:false is fullscreen. Like regular windows, I was expecting to see the status bar hidden but the title still there.

JSON Source