App customization
When you app_android
folder has been created, you will need to customize some properties to match your application instead of template. Here is the minimum that is recommended to achieve.
Change launch icon
Rename application name
Look at the app_android/variables.gradle
there is appVersion
/ appVersionCode
/ appName
/ appId
. Feel free to modify them as you like.
Danger
If you change the appId you HAVE to change the java package for the MainActivity
. Move the MainActivity
from app_android/app/src/main/java/com/wiztivi/androidtv/MainActivity.java
to app_android/app/src/main/java/new/app/id/MainActivity.java
, change the package on first line of MainActivity.java
with your new appId and change the package in the AndroidManifest.xml
(line 4 package="new.app.id"
)
Customize SplashScreen
The splash screen is handled by a theme setting a windowBackground (app_android/app/src/main/res/values/themes.xml
) which use the `splash_screen_background drawable (Android documentation)