[TIMOB-3024] Non-fullscreen splash image
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-05-14T12:44:38.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-18 |
Components | Android |
Labels | android, defect, reported-1.5.0, splash |
Reporter | Shish |
Assignee | Bill Dawson |
Created | 2011-04-15T03:34:58.000+0000 |
Updated | 2011-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 :(
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...
Looks like an android issue from the ticket, assigning to Don for triage.
This is a defect, but btw if you want custom theme.xml put it in
platform/android/res/values/theme.xml
, theplatform/
folder being a child of your app's root folder (a sibling ofResources
).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...
QE testing:
Create a new application, and play with the
<fullscreen>
and<navbar-hidden>
settings in tiapp.xml. Settingfullscreen
totrue
means the splash screen should cover everything on the device/emulator, including the top status bar (the bar that shows the time of day). Keepingfullscreen
atfalse
but puttingnavbar-hidden
totrue
should cover the "navbar", which is the bar that shows the application's title. Keeping them both atfalse
should mean that the both the status bar and the nav (title) bar show.fullscreen:true navbar-hidden:false is fullscreen. Like regular windows, I was expecting to see the status bar hidden but the title still there.