TouchImageView doesn't show image until after a pinch gesture
问题 I'm using the custom view TouchImageView. However, when I set the bitmap it doesn't show the image unless I do a pinch gesture on it. public class PhotoOverlayActivity extends AppCompatActivity { public static final String CURRENT_MESSAGE_KEY = "message"; private static final int IMAGE_REQUEST_CODE = 0; String currentMessage; private Bitmap bitmap; private TouchImageView mImageView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);