content: package com.example.app_login.signlogin;
  
  import android.app.Activity;
  import android.app.Dialog;
  import android.content.Intent;
  import android.graphics.Color;
  import android.graphics.drawable.ColorDrawable;
  import android.support.v7.app.AppCompatActivity;
  import android.os.Bundle;
  import android.util.DisplayMetrics;
  import android.view.Gravity;
  import android.view.View;
  import android.view.ViewGroup;
  import android.view.Window;
  import android.view.WindowManager;
  import android.widget.Button;
  import android.widget.ImageView;
  import android.widget.LinearLayout;
  import android.widget.Toast;
  
  import com.example.app_login.R;
  import com.example.app_login.doctor.doctor.HomeActivity;
  import com.example.app_login.doctor.doctor.VideoActivity;
  import com.example.app_login.doctor.doctor.schedule.ScheduleActivity;
  
  public class PopUp extends AppCompatActivity {
      ImageView doctor_go, patient_go;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_pop_up);
          getSupportActionBar().setTitle("New User");
  
  
          doctor_go=findViewById(R.id.doctor_go);
          patient_go=findViewById(R.id.patient_go);
  
         /* DisplayMetrics displayMetrics = new DisplayMetrics();
          getWindowManager().getDefaultDisplay().getMetrics(displayMetrics);
  
          int width = displayMetrics.widthPixels;
          int height = displayMetrics.heightPixels;
  
          getWindow().setLayout((int)(width*.8),(int)(height*.5));
  
          WindowManager.LayoutParams params = getWindow().getAttributes();
          params.gravity = Gravity.CENTER;
          params.x = 0;
          params.y = -20;
          getWindow().setAttributes(params);
          getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));*/
  
  
          doctor_go.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View view) {
                  startActivity(new Intent(PopUp.this, D_Sign_Up.class));
              }
          });
  
          patient_go.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View view) {
                  startActivity(new Intent(PopUp.this, SignUp.class));
              }
          });
  
      }
  
  
  }