[Android] AppCompat NavigationBar should handle Transluscent Flags (#1287)
authorbentmar <bjorn.bentmar@gmail.com>
Wed, 13 Dec 2017 12:37:58 +0000 (13:37 +0100)
committerRui Marinho <me@ruimarinho.net>
Wed, 13 Dec 2017 12:37:58 +0000 (12:37 +0000)
commit8ee768ce5f39f8ee7653298847b891621f2dc9a0
tree766aae9217cb12290c0d80f30d8c06c2a2bf1bb5
parent8ede382d0238312b9b5e0c260ff4251843b91e07
[Android] AppCompat NavigationBar should handle Transluscent Flags (#1287)

* AppCompat NavigationBar handle Transluscent Flags

* Handle padding on Navigationbar when rotated

if the app uses any TransluscentFlags padding will be added to the Toolbar. When device is rotated a new height is calculated. This leads to the Toolbar being reset by ResetToolbar(). If the old toolbar was adjusted by toppadding the new toolbar should get the same padding to not be layout out under the statusbar
Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs