Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17292] CLI: Naming of the custom splash screen should not be restricted to background.9.png

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2014-07-11T23:35:49.000+0000
Affected Version/sRelease 3.3.0
Fix Version/sn/a
ComponentsAndroid, CLI
Labelsqe-3.3.0
ReporterLokesh Choudhary
AssigneeChris Barber
Created2014-07-11T00:41:02.000+0000
Updated2017-03-22T21:49:20.000+0000

Description

Description:

1. Currently if a custom splash screen is named anything other than "background.9.png" the CLI does not pick the custom splash screen & rather uses the default splash screen from the titanium SDK 2. Create an app & follow the docs for how to have custom splash screen : http://docs.appcelerator.com/titanium/latest/#!/guide/Icons_and_Splash_Screens-section-29004897_IconsandSplashScreens-Splashscreens 3. See that in the docs we use the name "splash.9.png" as the filename for the custom splash screen. 4. Build the app for android device. 5. Rename the "splash.9.png" to "background.9.png" & build for android device again.

Actual Result:

1. When name "splash.9.png" is used the default splash screen is picked up from the titanium sdk & displayed. 2. When name "background.9.png" is used the custom splash screen is picked up & displayed.

Expected Result:

1. The naming of the custom splash screen file should not be restricted to "background.9.png".

Attachments

FileDateSize
defaultapp.zip2014-07-11T17:35:54.000+0000406407

Comments

  1. Lokesh Choudhary 2014-07-11

    Attaching sample project for the issue.
  2. Chris Barber 2014-07-11

    Turns out this is a non-issue. In Titanium 3.3.0 and newer, we now use the AppCompat theme for the application. You can override the default splash screen with whatever you want by creating a new theme and setting that theme on the activity, not the application.
       <android xmlns:android="http://schemas.android.com/apk/res/android">
           <manifest>
               <application>
               	<activity android:name=".DefaultappActivity" android:theme="@style/MyTheme"/>
               </application>
           </manifest>
       </android>
       
  3. Neeraj Gupta 2014-07-13

    [~cbarber] May be work with Ben to document this?
  4. Chris Barber 2014-07-13

  5. Lee Morris 2017-03-22

    Closing ticket as invalid with reference to previous comments.

JSON Source