title: Positioning floating action button at bottom right
body: <p>I implemented a floating action button inside a fragment, placing it at the bottom right with the following source code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:orientation="vertical"&gt;
  
  
   &lt;ListView
       android:id="@+id/listtipologie"
       style="@style/Widget.AppCompat.Light.ListView.DropDown"
       android:layout_width="match_parent"
       android:layout_height="0dp"
       android:layout_weight="1"
       android:clickable="false"
       android:divider="@null"
       android:dividerHeight="10dp"
       android:focusable="false"
       android:footerDividersEnabled="false"
       android:headerDividersEnabled="false"
       android:padding="10dip"&gt;&lt;/ListView&gt;
  
    &lt;android.support.design.widget.FloatingActionButton
       android:id="@+id/submit"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:layout_margin="16dp"
       android:clickable="true"
       android:gravity="right"
       android:layout_alignParentBottom="true"
       android:layout_alignParentEnd="true"
       android:layout_alignParentRight="true"
       android:layout_gravity="end|bottom"
       android:layout_below="@id/listtipologie"
       app:srcCompat="@drawable/submit_icon" /&gt;
  
  
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>The display on android studio is as follows:</p>
  
  <p><a href="https://i.stack.imgur.com/W6wAH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W6wAH.png" alt="enter image description here"></a></p>
  
  <p>But when I run it on the phone, the floating action button does not appear in the lower right but a bit higher.
  App is displayed in this way:</p>
  
  <p><a href="https://i.stack.imgur.com/MUeKf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MUeKf.png" alt="enter image description here"></a></p>
  
  <p>Can anyone help me?
  Thanks in advance.</p>