title: Height of View wrong in React Native on Pixel 3a
body: <p>I am trying to make an element of height 30 in React Native. However on Android Pixel 3a the height of the element resolves close to 30, but not quite 30.</p>
  <p>The following code snippet results in the element having height of 30.18181800842285. It seems to only happen on on Pixel 3a. Both on emulator and on real device (tested on Browserstack)</p>
  <p>Actually looks like it's happening on almost all Pixel phones.</p>
  <pre><code>import React from 'react';
  import {View} from 'react-native';
  
  export default () =&gt; (
    &lt;View
      onLayout={layout =&gt; {
        console.log('appText height', layout.nativeEvent.layout.height); // Should be 30, but says 30.18181800842285
      }}
      style={{
        height: 30,
      }}
    /&gt;
  );
  </code></pre>
  <p>Any idea what could be the reason? I am trying to implement my own scrollpicker using a scrollview and this is completely messing it up. (but only on Pixel 3a)</p>
  <p>Link to repo: <a href="https://github.com/Waltari10/scrollviewbugreactnative" rel="nofollow noreferrer">https://github.com/Waltari10/scrollviewbugreactnative</a></p>
  <p>EDIT: I did some testing on different element heights on different devices</p>
  <p><strong>iPhone 13, iPhone 13 mini, pixelRatio is 3</strong></p>
  <p>everything exact</p>
  <p><strong>iphone 8, pixelRatio is 2</strong></p>
  <p>everything exact</p>
  <p><strong>3.4 WQVGA_API_32, pixel ratio is 0.75</strong></p>
  <p>exact: 24, 28, 32</p>
  <p><strong>5.4 mdpi, pixel ratio: 1</strong></p>
  <p>exact: 28, 29, 30, 31</p>
  <p><strong>Pixel XL, 560 DPI, pixel ratio is 3.5</strong></p>
  <p>exact: 24, 26, 28</p>
  <p><strong>Pixel 5, 440dpi, pixel ratio: 2,75</strong></p>
  <p>exact: 32, 28, 24</p>
  <p>not exact: 33, 31, 30, 29</p>
  <p><strong>Pixel 3a ratio is 2.75, xxhdpi, 440dpi</strong></p>
  <p>exact: 12, 16, 20, 24, 28, 32, 36, 40, 44, 48</p>
  <p>Not exact: 30, 31, 32,33,34</p>
  <p><strong>Galaxy nexus ratio is 2, xhdpi, 440dpi</strong></p>
  <p>exact: 12 - 20</p>
  <p>not exact: ???</p>
  <p><strong>8 Fold-Out API 31, 2200 x 2480dpi, xxhdpi, ratio is 2.625</strong></p>
  <p>exact: 16, 24, 32, 40</p>
  <p>not exact: 14, 15, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27, 28, 29, 30, 31</p>
  <p><strong>3.7 FWVA slider API 29, hdpi, 480 x 854, ratio is 1.5</strong></p>
  <p>exact: 40, 38, 36, 34, 33</p>
  <p>not exact: 39, 37, 35</p>