Android: add adaptive icon to the default project
m1ga opened this issue · 0 comments
m1ga commented
I have searched and made sure there are no existing issues for the issue I am filing
- I have searched the existing issues
Description
Think it is time to add a default adaptive icon to the project template.
Solution
- full tutorial https://www.fromzerotoapp.com/android-adaptive-icons/
- quick versin: https://icon.kitchen/ - get the ZIP, place the folder into the platform/android/ folder and use
<application android:icon="@mipmap/ic_launcher" />
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