tidev / titanium-sdk

🚀 Native iOS and Android Apps with JavaScript
https://titaniumsdk.com/
Other
2.76k stars 1.21k forks source link

Android: add adaptive icon to the default project #14045

Closed m1ga closed 5 months ago

m1ga commented 6 months ago

I have searched and made sure there are no existing issues for the issue I am filing

Description

Think it is time to add a default adaptive icon to the project template.

Solution

Template is in: https://github.com/tidev/titanium-sdk/tree/master/templates/app/default/template Icon is here: https://github.com/tidev/titanium-sdk/blob/master/templates/app/default/template/DefaultIcon.png

Test it with a classic project (ti create --alloy) and an Alloy project (ti create --alloy)

Alternatives

if it is not there the SDK could generate it using DefaultIcon.png (or Defaulticon-android.png) like it is doing for iOS.

Platforms

Android