diff --git a/src/android/InAppBrowser.java b/src/android/InAppBrowser.java index 5bf4d3a..f105a62 100644 --- a/src/android/InAppBrowser.java +++ b/src/android/InAppBrowser.java @@ -572,7 +572,7 @@ public class InAppBrowser extends CordovaPlugin { back.setId(Integer.valueOf(2)); Resources activityRes = cordova.getActivity().getResources(); int backResId = activityRes.getIdentifier("ic_action_previous_item", "drawable", cordova.getActivity().getPackageName()); - Drawable backIcon = activityRes.getDrawable(backResId, cordova.getActivity().getTheme()); + Drawable backIcon = activityRes.getDrawable(backResId); back.setBackground(null); back.setImageDrawable(backIcon); back.setScaleType(ImageView.ScaleType.FIT_CENTER);