title: Change size of navigationIcon in MaterialToolbar
body: <p>I am trying to put a profile image in navigationIcon, but any photos are too big for the ToolBar.
  How can I resize navigatioIcon or photos using Kotlin? Help pls</p>
  <pre><code>   &lt;com.google.android.material.appbar.AppBarLayout
      android:id=&quot;@+id/appbar&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;wrap_content&quot;
      app:layout_constraintTop_toTopOf=&quot;parent&quot;
      app:layout_constraintEnd_toEndOf=&quot;parent&quot;
      app:layout_constraintStart_toStartOf=&quot;parent&quot;
      android:fitsSystemWindows=&quot;true&quot;&gt;
  
      &lt;com.google.android.material.appbar.MaterialToolbar
          android:id=&quot;@+id/topAppBar&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;?attr/actionBarSize&quot;
          app:title=&quot;Ticketon&quot;
          app:navigationIcon=&quot;@mipmap/ic_launcher_round&quot;
          app:menu=&quot;@menu/toolbar_menu&quot;
          style=&quot;@style/Widget.MaterialComponents.Toolbar.Primary&quot;
          /&gt;
  &lt;/com.google.android.material.appbar.AppBarLayout&gt;
  
  topAppBar.setNavigationIcon(R.mipmap.ic_launcher_round)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/NpJvZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NpJvZ.png" alt="введите сюда описание изображения" /></a></p>