I’m trying to use 9-Patch files in the Android splash screen according to the instructions from this article by Josh Morony:
Creating a Dynamic/Adaptable Splash Screen for Capacitor (Android)
In the last step of the instructions I’m supposed to modify file launch_splash.xml
(change <bitmap
to <nine-patch
) but I can’t find that file, nor any other file containing these tags.
I have used a standard blank angular/capacitor project as a starting point.
Shall I add file launch_splash.xml
? If so, where? And shall I refer to this file from other files?
UPDATE:
launch_splash.xml
is not created when using Capacitor 2.0. However it is when using Capacitor 1.5.1. So the question remains: how to handle this in Capacitor 2.0?