title: How to add margin between EditText and Soft Keyboard?
body: <p>I want to add 10dp margin between EditText and Soft Keyboard.</p>
  
  <p><img src="https://i.stack.imgur.com/ME3Cn.png" alt="enter image description here">
  Here is my XML:</p>
  
  <pre><code>&lt;RelativeLayout
      android:id="@+id/BottomLayout"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      android:layout_alignParentLeft="true"
      android:background="@drawable/bottom_glass" &gt;
  
      &lt;EditText
          android:id="@+id/message"
          android:layout_width="200dp"
          android:layout_height="wrap_content"
          android:layout_centerHorizontal="true"
          android:layout_centerVertical="true"
          android:background="@drawable/grey"
          android:ems="10"
          android:layout_marginBottom="10dp"
          android:hint="Enter Message"
          android:textColor="#ffffff" &gt;
  
  
      &lt;/EditText&gt;
  
      &lt;ImageButton
          android:id="@+id/sendMessageButton"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_centerVertical="true"
          android:layout_marginLeft="20dp"
          android:layout_toRightOf="@+id/message"
          android:background="@android:color/transparent"
          android:src="@drawable/sendselector" /&gt;
  
      &lt;ImageButton
          android:id="@+id/imageButton2"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_centerVertical="true"
          android:layout_marginRight="20dp"
          android:layout_toLeftOf="@+id/message"
          android:background="@android:color/transparent"
          android:src="@drawable/sendmediaselector" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Here is my <code>onCreate()</code> :</p>
  
  <pre><code>    getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);
      messageText.setOnTouchListener(new OnTouchListener(){
  
                  @Override
                  public boolean onTouch(View v, MotionEvent event) {
                              ((Swipe)getActivity()).getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_UNSPECIFIED);
                      return false;
                  }});
  </code></pre>
  
  <p>I am using viewpager and full screen theme. The following EditText is in my 3rd fragment.</p>
  
  <p>I've used <code>android:windowSoftInputMode="adjustResize|adjustPan"</code> and <code>android:windowSoftInputMode="adjustResize"</code>, but nothing happened.</p>