Inject resources automatically on Android.