Project: titanium
Issue TIMOB-17571: Hiding the ActionBar using a custom theme misforms app when also using a 9-patch splash screen
If you follow the guide to hide the ActionBar using a custom theme and at the same time also follow the guide to use 9-patch splash screens the application window will be small and sitting in the top left of the screen, uncovering the splash screen under it, as shown in the attached screenshot. h1. The guides Just before the 3 steps for custom themes, the introduction of the following splash-guide says you do *not* need a custom theme if you just name your 9-patch splash screen images {{background.9.png}}: - http://docs.appcelerator.com/titanium/latest/#!/guide/Icons_and_Splash_Screens-section-29004897_IconsandSplashScreens-Androidsplashscreenconsiderations The following actionbar-guide shows how to use a {{custom_theme.xml}} together with a small change in {{tiapp.xml}} to hide the action bar on all windows: - http://docs.appcelerator.com/titanium/latest/#!/guide/Android_Action_Bar-section-36735509_AndroidActionBar-HidingtheActionBar h1. The problem Both of these guides at themselves work just fine. But when you follow both of them you'll get the problem described. h1. Steps to reproduce 1. Download the attached example project 2. Build to see the expected white application window 3. Rename {{platform/android/res/_drawable}} to {{drawable}} 4. Build to see the white application window in the top left h1. Explored solutions I've tried several changes such as using {{android:windowActionBar}} instead of {{windowActionBar}} or setting the splash in a custom theme, but nothing helped. I also compared the builds after step 2 and 4 of the steps laid out to reproduce. All the (non-binary) files were 100% identical, so the error must be in the compiled JAVA and not in the generated XML themes. h1. Workaround I can't think of a (satisfying) workaround, so I hope this can be fixed soon.
Story points: 3