Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- android Drawable calling NullPointerException in onCreate after onDestroy has been called
- InputStream mapInput = resources.openRawResource(R.drawable.mymap);
- mapDrawable = Drawable.createFromStream(mapInput, "mymap");
- mapDrawable.setFilterBitmap(true);
- mapDrawable.setBounds(0, 0, MAP_WIDTH, MAP_HEIGHT);
- myCustomView.setMapDrawable(mapDrawable, MAP_WIDTH, MAP_HEIGHT);
Add Comment
Please, Sign In to add comment