diff --git a/app/src/main/java/com/example/nemophila/PostActivity.java b/app/src/main/java/com/example/nemophila/PostActivity.java index fbf2ff5..36b429e 100644 --- a/app/src/main/java/com/example/nemophila/PostActivity.java +++ b/app/src/main/java/com/example/nemophila/PostActivity.java @@ -195,7 +195,7 @@ postImages[1] = findViewById(R.id.imageView2); postImages[2] = findViewById(R.id.imageView3); - Button selectPictureButton = (Button)findViewById(R.id.selectpicturebutton); + ImageButton selectPictureButton = (ImageButton) findViewById(R.id.selectpicturebutton); selectPictureButton.setOnClickListener(new View.OnClickListener(){ public void onClick(View v) { if (uriLists.size() < 3) {