Files
react-native/ReactAndroid/src/main/java/com/facebook/react
Jack Hsu 8e603940e3 Use getRealMetrics for display metrics. Closes #4934
Summary:
Fixes https://github.com/facebook/react-native/issues/4934.

Since API level 17, there has a `Display.getRealMetrics` method. This allows us to get the actual sizes of the screen (including soft menu bar and other system decor elements).

See: http://developer.android.com/reference/android/view/Display.html#getRealMetrics(android.util.DisplayMetrics)

I'm not sure if there is a good way to write unit or integration tests for this. Please let me know if there are any suggestions or concerns.
Closes https://github.com/facebook/react-native/pull/4935

Reviewed By: svcscm

Differential Revision: D2811091

Pulled By: bestander

fb-gh-sync-id: fed4e357db7eb36d638eebabd8ced4bdffd766a4
2016-02-01 09:09:34 -08:00
..
2016-01-22 16:20:13 +00:00
2016-01-22 16:20:13 +00:00
2016-01-28 18:55:30 -08:00
2016-01-25 06:01:46 -08:00
2016-01-25 06:01:46 -08:00
2016-01-22 16:20:13 +00:00