title: Android EditText typed text not showing when keyboard appears in Fragment
body: <p>Im using an EditText in Fragment with a textView,Button and ImageView.</p>
  
  <p><strong>My Problem is :</strong></p>
  
  <p>I cant see what im typing when keyboard appears.</p>
  
  <p><strong>My XML code is :</strong>  </p>
  
  <pre><code> &lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:tools="http://schemas.android.com/tools"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:background="@android:color/background_light"
          android:clickable="true"&gt;
  
          &lt;!-- TODO: Update blank fragment layout --&gt;
  
          &lt;RelativeLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:padding="5dp"&gt;
  
              &lt;ScrollView
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"&gt;
  
                  &lt;LinearLayout
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:orientation="vertical"&gt;
  
                      &lt;ImageView
                          android:layout_width="match_parent"
                          android:layout_height="190dp"
                          android:background="@drawable/header" /&gt;
  
                      &lt;TextView
                          android:id="@+id/head"
                          style="@style/Base.TextAppearance.AppCompat.Large"
                          android:layout_width="match_parent"
                          android:layout_height="wrap_content"
                          android:text="sub heading" /&gt;
  
                      &lt;android.support.design.widget.TextInputLayout
                          android:id="@+id/request_til"
                          android:layout_width="match_parent"
                          android:layout_height="wrap_content"&gt;
  
                          &lt;EditText
                              android:id="@+id/request_et"
                              android:layout_width="match_parent"
                              android:layout_height="wrap_content"
                              android:hint="Enter your Name and Address here"
                              android:maxLines="10"
                              android:minLines="6" /&gt;
                      &lt;/android.support.design.widget.TextInputLayout&gt;
                  &lt;/LinearLayout&gt;
  
              &lt;/ScrollView&gt;
  
              &lt;Button
                  android:id="@+id/request_btn"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_alignParentBottom="true"
                  android:background="@color/colorPrimary"
                  android:text="Button"
                  android:textColor="@android:color/background_light" /&gt;
          &lt;/RelativeLayout&gt;
      &lt;/FrameLayout&gt;
  </code></pre>
  
  <p><strong>ScreenShots :</strong>
  when Keyboard appears: I cant see what im typing
  <a href="https://i.stack.imgur.com/16O6R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/16O6R.png" alt="enter image description here"></a></p>
  
  <p>after typing and keyboard disappears only then i can see what im typed:
  <a href="https://i.stack.imgur.com/y77u0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y77u0.png" alt="enter image description here"></a></p>
  
  <p><strong>Please someone help me to solve me my problem</strong> </p>