OnClick Listner Not Working : Don't know why when I click on button its not performing any operation.Can't locate any error in onclick listner.It suppose to give me option for choose image from gallery when I click on choose button rather when I click on Choose button it doesnt do any thing also not give any error.

Java code :

    package com.vshine.neuron;
    
    import android.content.Intent;
    import android.graphics.Bitmap;
    import android.net.Uri;
    import android.provider.MediaStore;
    import android.support.v7.app.AppCompatActivity;
    import android.os.Bundle;
    import android.view.View;
    import android.widget.Button;
    import android.widget.EditText;
    import android.widget.ImageView;
    import android.widget.TextView;
    
    import com.vshine.neuron.testing.R;
    
    import org.w3c.dom.Text;
    
    import java.io.IOException;
    
    public class imageupload extends AppCompatActivity implements View.OnClickListener {
    Button btn1 , btn2;
    TextView tv;
    EditText edt;
    ImageView img;
    private final static int IMG_REQUEST =1;
    private Bitmap bitmap;
        @Override
        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_imageupload);
    
            btn1 = findViewById(R.id.btnupload);
            btn2 = findViewById(R.id.btnchose);
            //tv = findViewById(R.id.textview);
            edt = findViewById(R.id.edit);
            img = findViewById(R.id.imgview);
            btn1.setOnClickListener(this);
            btn2.setOnClickListener(this);
        }
    
        @Override
        public void onClick(View v) {
    
            switch (v.getId())
            {
    
                case R.id.btnchose:
    
                    break;
            }
        }
    
        private void selectImage()
        {
            Intent intent = new Intent();
            intent.setType("image/*");
            intent.setAction(Intent.ACTION_GET_CONTENT);
            startActivityForResult(intent,IMG_REQUEST);
    
        }
    
        @Override
        protected void onActivityResult(int requestCode, int resultCode, Intent data) {
            super.onActivityResult(requestCode, resultCode, data);
            if(requestCode==IMG_REQUEST && resultCode==RESULT_OK && data !=null)
            {
                Uri path = data.getData();
                try {
                    bitmap = MediaStore.Images.Media.getBitmap(getContentResolver(),path);
                    img.setImageBitmap(bitmap);
                    img.setVisibility(View.VISIBLE);
                    edt.setVisibility(View.VISIBLE);
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
        }
    }

Here Is the XML Code for layout :

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        tools:context="com.vshine.neuron.imageupload">
    
        <!--<TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="lang and lat"
            android:textSize="20dp"
            android:id="@+id/textview"/>-->
        <ImageView
            android:layout_marginTop="20dp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:id="@+id/imgview"
            android:visibility="gone"/>
        <EditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="Enter a Name"
            android:visibility="gone"
            android:id="@+id/edit"/>
        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Upload"
            android:id="@+id/btnupload"/>
        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Choose image"
            android:id="@+id/btnchose"/>
    
    </LinearLayout>


