title: None of the edit text is not getting focused whenever i click it
body: <p>I have created an xml that includes some edit text, calendar. I am having an issue that when ever I touch the edit text the cursor is not getting focused.I have tried android:focusable=true in xml and also in java.but its not working.I cant type the values in edit text.Here is my code.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.constraint.ConstraintLayout
      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:background="@color/black"&gt;
  
      &lt;include
          android:id="@+id/toolbar"
          layout="@layout/toolbar_layout" /&gt;
  
      &lt;ScrollView
          android:id="@+id/svScroll"
          android:layout_width="0dp"
          android:layout_height="0dp"
          android:padding="10dp"
          android:scrollbars="none"
          app:layout_constraintBottom_toBottomOf="parent"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toBottomOf="@+id/toolbar"
          app:layout_constraintBottom_toTopOf="@+id/btUpdate"
          &gt;
  
          &lt;android.support.constraint.ConstraintLayout
              android:id="@+id/constraint_layout"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:background="@color/black"
              &gt;
  
              &lt;EditText
                  android:id="@+id/etEmailid"
                  android:layout_width="match_parent"
                  android:layout_height="48dp"
                  android:background="@drawable/profile_background"
                  android:hint="@string/email_txt"
                  android:padding="10dp"
                  android:textColor="@color/white"
                  android:textColorHint="@color/white"
                  android:textSize="16sp"
                  app:layout_constraintEnd_toEndOf="parent"
                  app:layout_constraintStart_toStartOf="parent"
                  android:inputType="text" /&gt;
  
              &lt;EditText
                  android:id="@+id/etFirstName"
                  android:layout_width="match_parent"
                  android:layout_height="50dp"
                  android:layout_marginTop="10dp"
                  android:background="@drawable/profile_background"
                  android:padding="10dp"
                  android:hint="@string/First_name"
                  android:textColorHint="@color/white"
                  android:textColor="@color/white"
                  android:textSize="16sp"
                  android:inputType="textCapWords"
                  app:layout_constraintEnd_toEndOf="parent"
                  app:layout_constraintStart_toStartOf="parent"
                  app:layout_constraintTop_toBottomOf="@+id/etEmailid"
                  /&gt;
  
              &lt;EditText
                  android:id="@+id/etLastName"
                  android:layout_width="match_parent"
                  android:layout_height="50dp"
                  android:layout_marginTop="10dp"
                  android:background="@drawable/profile_background"
                  android:padding="10dp"
                  android:hint="@string/last_name"
                  android:inputType="textCapWords"
                  android:textColorHint="@color/white"
                  android:textColor="@color/white"
                  android:textSize="16sp"
                  app:layout_constraintEnd_toEndOf="parent"
                  app:layout_constraintStart_toStartOf="parent"
                  app:layout_constraintTop_toBottomOf="@+id/etFirstName" /&gt;
  
              &lt;TextView
                  android:id="@+id/dob"
                  android:layout_width="0dp"
                  android:layout_height="50dp"
                  android:layout_marginTop="10dp"
                  android:background="@drawable/profile_background"
                  android:drawablePadding="10dp"
                  android:drawableEnd="@mipmap/mdate"
                  android:gravity="center_vertical"
                  android:padding="10dp"
                  android:hint="@string/dob"
                  android:textColorHint="@color/white"
                  android:textColor="@color/white"
                  android:textSize="16sp"
                  app:layout_constraintEnd_toStartOf="@+id/genderSpinner"
                  app:layout_constraintStart_toStartOf="parent"
                  app:layout_constraintTop_toBottomOf="@+id/etLastName" /&gt;
  
              &lt;Spinner
                  android:id="@+id/genderSpinner"
                  android:layout_width="0dp"
                  android:layout_height="50dp"
                  android:layout_marginStart="10dp"
                  android:background="@drawable/profile_background"
                  android:entries="@array/gender"
                  android:textColor="@color/white"
                  android:textColorHint="@color/white"
                  android:textSize="16sp"
                  app:layout_constraintBottom_toBottomOf="@+id/dob"
                  app:layout_constraintEnd_toEndOf="parent"
                  app:layout_constraintStart_toEndOf="@+id/dob"
                  app:layout_constraintTop_toTopOf="@+id/dob"/&gt;
  
              &lt;EditText
                  android:id="@+id/etMobileno"
                  android:layout_width="match_parent"
                  android:layout_height="50dp"
                  android:layout_marginTop="10dp"
                  android:background="@drawable/profile_background"
                  android:padding="10dp"
                  android:hint="@string/mobile_txt"
                  android:textColor="@color/white"
                  android:textColorHint="@color/white"
                  android:textSize="16sp"
                  android:inputType="number"
                  app:layout_constraintEnd_toEndOf="parent"
                  app:layout_constraintStart_toStartOf="parent"
                  app:layout_constraintTop_toBottomOf="@+id/genderSpinner" /&gt;
  
              &lt;EditText
                  android:id="@+id/etAddress"
                  android:layout_width="match_parent"
                  android:layout_height="50dp"
                  android:layout_marginTop="10dp"
                  android:background="@drawable/profile_background"
                  android:padding="10dp"
                  android:hint="@string/address"
                  android:inputType="textCapWords"
                  android:textColorHint="@color/white"
                  android:textColor="@color/white"
                  android:textSize="16sp"
                  app:layout_constraintEnd_toEndOf="parent"
                  app:layout_constraintStart_toStartOf="parent"
                  app:layout_constraintTop_toBottomOf="@+id/etMobileno" /&gt;
  
  
              &lt;EditText
                  android:id="@+id/etCity"
                  android:layout_width="match_parent"
                  android:layout_height="50dp"
                  android:layout_marginTop="10dp"
                  android:background="@drawable/profile_background"
                  android:padding="10dp"
                  android:hint="@string/S_city"
                  android:textColor="@color/white"
                  android:textColorHint="@color/white"
                  android:textSize="16sp"
                  android:inputType="textCapWords"
                  app:layout_constraintEnd_toEndOf="parent"
                  app:layout_constraintStart_toStartOf="parent"
                  app:layout_constraintTop_toBottomOf="@+id/etAddress" /&gt;
  
              &lt;EditText
                  android:id="@+id/etPincode"
                  android:layout_width="match_parent"
                  android:layout_height="50dp"
                  android:layout_marginTop="10dp"
                  android:background="@drawable/profile_background"
                  android:padding="10dp"
                  android:hint="@string/pincode"
                  android:textColor="@color/white"
                  android:textColorHint="@color/white"
                  android:textSize="16sp"
                  android:inputType="number"
                  app:layout_constraintEnd_toEndOf="parent"
                  app:layout_constraintStart_toStartOf="parent"
                  app:layout_constraintTop_toBottomOf="@+id/etCity" /&gt;
  
              &lt;TextView
                  android:id="@+id/tvMandatory"
                  android:layout_width="match_parent"
                  android:layout_height="12dp"
                  android:layout_marginTop="10dp"
                  android:text="@string/mandatory"
                  android:textColor="@color/white"
                  android:textSize="10sp"
                  android:gravity="right"
                  app:layout_constraintRight_toRightOf="parent"
                  app:layout_constraintTop_toBottomOf="@+id/etPincode" /&gt;
  
  
              &lt;de.hdodenhof.circleimageview.CircleImageView
                  android:id="@+id/ivProfile"
                  android:layout_width="80dp"
                  android:layout_height="80dp"
                  android:layout_marginTop="10dp"
                  android:src="@drawable/prof_img"
                  app:civ_border_color="#000"
                  app:civ_border_width="0.5dp"
                  app:layout_constraintLeft_toLeftOf="parent"
                  app:layout_constraintTop_toBottomOf="@+id/tvMandatory" /&gt;
  
              &lt;TextView
                  android:id="@+id/tvChoosePhoto"
                  android:layout_width="150dp"
                  android:layout_height="40dp"
                  android:layout_marginLeft="16dp"
                  android:background="@drawable/prof_cam"
                  android:gravity="center|left"
                  android:paddingLeft="@dimen/plus_15dp"
                  android:text="CHOOSE YOUR PHOTO"
                  android:textColor="@color/black"
                  android:textSize="10sp"
                  app:layout_constraintBottom_toBottomOf="@+id/ivProfile"
                  app:layout_constraintLeft_toRightOf="@+id/ivProfile"
                  app:layout_constraintTop_toTopOf="@+id/ivProfile" /&gt;
  
              &lt;TextView
                  android:id="@+id/tvClear"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_marginLeft="32dp"
                  android:gravity="center|left"
                  android:text="@string/clear"
                  android:textColor="@color/white"
                  app:layout_constraintBottom_toBottomOf="@+id/tvChoosePhoto"
                  app:layout_constraintLeft_toRightOf="@+id/tvChoosePhoto"
                  app:layout_constraintTop_toTopOf="@+id/tvChoosePhoto"
                  tools:ignore="MissingConstraints" /&gt;
          &lt;/android.support.constraint.ConstraintLayout&gt;
      &lt;/ScrollView&gt;
      &lt;Button
          android:id="@+id/btUpdate"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:background="@drawable/btn_update"
          android:text="UPDATE"
          android:layout_marginBottom="10dp"
          android:textColor="@color/white"
          android:layout_marginLeft="40dp"
          android:layout_marginRight="40dp"
          app:layout_constraintBottom_toBottomOf="parent"
          /&gt;
  
  &lt;/android.support.constraint.ConstraintLayout&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://i.stack.imgur.com/ZbkmP.jpg" rel="nofollow noreferrer">This is the image of edit text</a></p>