title: Margin/padding in FrameLayout not going away
body: <p><a href="https://i.stack.imgur.com/ilemq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ilemq.jpg" alt="Current Playbar"></a>
  I have a FrameLayout which contains a Playbar I am using that displays information about the music playing along with the toggles. For some reason, I cannot get the padding at the top of the frame layout to go away. I have tried making the margins/paddings 0dp of all the elements and the whole layout programmatically and via the XML but nothing is working. I am assuming it is just some natural behavior built into FrameLayout.  I have also tried setting the FrameLayout to the same desired height (56dp/ dimen/playbar_size) but the padding still is there. 
      
      </p>
  
  <pre><code>&lt;SeekBar
      style="@style/Base.Widget.AppCompat.ProgressBar.Horizontal"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:id="@+id/progress"
      android:layout_marginLeft="@dimen/playbar_size"
      android:layout_marginTop="-8dp" /&gt;
  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="45dp"
      android:layout_marginLeft="64dp"
      android:orientation="horizontal"
      android:layout_gravity="right|bottom"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_marginLeft="8dp"
          android:layout_marginRight="8dp"
          android:layout_weight="1"
          android:gravity="center_vertical"
          android:orientation="vertical"
          android:paddingTop="5dp"&gt;
  
          &lt;TextView
              android:id="@+id/title"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textColor="#fff"
              android:textSize="14dp"
              android:singleLine="true"
              android:lines="1"
              android:maxLines="1"
              android:ellipsize="end"
              android:textStyle="bold" /&gt;
  
          &lt;TextView
              android:id="@+id/subtitle"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textColor="#fff"
              android:textSize="12dp"
              android:singleLine="true"
              android:lines="1"
              android:maxLines="1"
              android:ellipsize="end"
              android:layout_marginLeft="8dp" /&gt;
      &lt;/LinearLayout&gt;
  
      &lt;ImageButton
          android:id="@+id/toggle"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:soundEffectsEnabled="false"
          android:padding="12dp"
          app:srcCompat="@drawable/ic_pause_dark"
          android:layout_gravity="bottom"
          android:background="@android:color/transparent" /&gt;
  
      &lt;ImageButton
          android:id="@+id/next"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:background="@android:color/transparent"
          android:soundEffectsEnabled="false"
          android:padding="12dp"
          app:srcCompat="@drawable/quantum_ic_skip_next_white_24"
          android:layout_gravity="bottom" /&gt;
  &lt;/LinearLayout&gt;
  
  &lt;ImageView
      android:id="@+id/art"
      android:layout_width="@dimen/playbar_size"
      android:layout_height="@dimen/playbar_size"
      android:layout_gravity="left|top"
      android:layout_marginTop="0dp" /&gt;
  
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>Desired view, with no padding and seekbar all the way the top – this is actual height it is supposed to be.</p>
  
  <p><a href="https://i.stack.imgur.com/RtMqm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RtMqm.png" alt="Desired view, with no padding and seekbar all the way the top – this is actual height it is supposed to be"></a> </p>