title: Unable to change icon color in layout file for a FloatingActionButton on Android Studio
body: <p>So, I have this layout file with the following skeleton:</p>
  <pre><code>&lt;layout&gt;
    &lt;CoordinatorLayout&gt;
      &lt;AppBarLayout&gt;
      ... some tags and stuff ...
      &lt;/AppBarLayout&gt;
      &lt;NestedScrollView&gt;
      .... nested scroll view stuff
      &lt;/NestedScrollView&gt;
      &lt;!-- Finally! Here comes.... --&gt;
      &lt;FloatingActionButton&gt;
          android:id=&quot;@+id/fab&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_gravity=&quot;bottom|end&quot;
          android:layout_margin=&quot;8dp&quot;
          android:backgroundTint=&quot;@color/someDarkBlueColor&quot;
          android:tint=&quot;@color/colorWhite&quot;
          android:src=&quot;@drawable/ic_white_camera&quot; /&gt;
          ... closing tags and stuff ....
  </code></pre>
  <p>ic_white_camera is as follows:</p>
  <pre><code>&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:width=&quot;200dp&quot; android:height=&quot;200dp&quot; android:viewportWidth=&quot;24.0&quot; android:viewportHeight=&quot;24.0&quot;&gt;
      &lt;path android:fillColor=&quot;@color/colorWhite&quot; android:pathData=&quot;M12,12m-3.2,0a3.2,3.2 0,1 1,6.4 0a3.2,3.2 0,1 1,-6.4 0&quot;/&gt;
      &lt;path android:fillColor=&quot;@color/colorWhite&quot; android:pathData=&quot;M9,2L7.17,4L4,4c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L22,6c0,-1.1 -0.9,-2 -2,-2h-3.17L15,2L9,2zM12,17c-2.76,0 -5,-2.24 -5,-5s2.24,-5 5,-5 5,2.24 5,5 -2.24,5 -5,5z&quot;/&gt;
  &lt;/vector&gt;
  </code></pre>
  <p><strong>@color/colorWhite</strong> is.. You guessed. White...</p>
  <p>However android insists on rendering the camera icon in <strong>black</strong>!</p>
  <p>I've tried adding <code>android:tint=&quot;@color/colorWhite&quot;</code>. No go..</p>
  <p>Added <code>android:foregroundTint=&quot;@color/colorWhite&quot;</code> and... Nada!</p>
  <p>Still getting this:</p>
  <p><a href="https://i.stack.imgur.com/unPpG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/unPpG.png" alt="Pesky camera in black" /></a></p>
  <p>Any clues on this one?</p>
  <p>Best regards to y'all.. :-)</p>