title: Cursor is not visible in EditText after setting visibility VISIBLE
body: <pre><code>&lt;EditText
      android:id="@+id/searchTextView"
      android:layout_width="match_parent"
      android:layout_height="40dp"
      android:layout_centerVertical="true"
      android:layout_marginLeft="@dimen/marginSmall"
      android:layout_toLeftOf="@+id/searchCloseIcon"
      android:layout_toRightOf="@+id/searchIcon"
      android:background="@drawable/rounded_rect_white"
      android:backgroundTint="@android:color/transparent"
      android:gravity="center_vertical"
      android:hint=" Search Nearby Chat"
      android:inputType="text"
      android:lines="1"
      android:maxLines="1"
      android:textColor="@color/black"
      android:textColorHint="@color/black38"
      android:textSize="@dimen/sunheading" /&gt;
  </code></pre>
  
  <p>Initially I can see cursor in edittext but after setting its visibility gone 
  and 
  <strong>again making visible its not visible in edittext</strong>. </p>
  
  <p>May I know what can be the solution for this? </p>