title: ImageView inside Toolbar is not well positioned on tablets
body: <p><a href="https://i.stack.imgur.com/wYWi9.png" rel="nofollow noreferrer">Image</a> </p>
  
  <p>I have a Toolbar with an ImageView inside. My problem is that this image is not positioned at the center of my Toolbar on tablets(it works fine on mobile devices). What can I do? Gravity doesn't work and I can't use a relative layout. There is an image on top showing my problem. </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;LinearLayout 
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  xmlns:design="http://schemas.android.com/apk/res-auto"
  android:id="@+id/activity_main"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical"
  tools:context="mfceo.project.matiasnagore.powerlist.MainActivity"&gt;
  
  &lt;android.support.v7.widget.Toolbar
      android:layout_width="match_parent"
      android:layout_height="45dp"
      android:id="@+id/mainToolbar"
      android:background="#fafafa"
      android:titleTextColor="#ffffff"
      android:layout_gravity="top"&gt;
  
      &lt;ImageView
          android:id="@+id/imagePowerlist"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:src="@drawable/powerlist"
          android:scaleType="centerInside"
          android:paddingRight="8dp"
          android:paddingTop="8dp"
          android:paddingBottom="8dp"
          android:paddingLeft="55dp" /&gt;
  
  &lt;/android.support.v7.widget.Toolbar&gt;
  
  &lt;View
      android:layout_width="match_parent"
      android:layout_height="2dp"
      android:background="@drawable/shadow_top"/&gt;
  
  &lt;FrameLayout
      android:id="@+id/container"
      android:layout_width="match_parent"
      android:layout_height="0dp"
      android:layout_weight="1"
      android:background="#ffffff"&gt;
  
  &lt;/FrameLayout&gt;
  
  &lt;View
      android:layout_width="match_parent"
      android:layout_height="2dp"
      android:background="@drawable/shadow"/&gt;
  
  &lt;android.support.design.widget.BottomNavigationView
      android:id="@+id/navigation"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:gravity="bottom"
      design:menu="@menu/bottom_nav_items"
      design:itemIconTint="@drawable/selector"
      design:itemTextColor="@drawable/selector"
      android:background="#FFFAFAFA" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>