[Android] ScrollView should send correct ScrollX and ScrollY (#394)
authoradrianknight89 <adrianknight89@outlook.com>
Tue, 6 Dec 2016 12:07:29 +0000 (06:07 -0600)
committerRui Marinho <me@ruimarinho.net>
Tue, 6 Dec 2016 12:07:29 +0000 (12:07 +0000)
commit9dff4c16508452512c5faa36788f65ba6419170e
treec10ba4ce6c728e953bf0d94f063cd280197a9c31
parent331a7b76db5bc645852b8d50a443f5a205a860d3
[Android] ScrollView should send correct ScrollX and ScrollY (#394)

* Android should show correct ScrollX and ScrollY when scrolling in both directions

* Adding sample code to demonstrate scrolling

* Orientation fix

* ScrollTo should work for horizontal + vertical scrolling

* Get correct scroll x and y values for ScrollOrientation.Both

* Convert positions to pixels

* Adding unit test to watch out for incorrect animation positioning

* automated test

* improvements

* fixed texts
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla41415.cs [new file with mode: 0644]
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems
Xamarin.Forms.Core.UnitTests/ScrollViewUnitTests.cs
Xamarin.Forms.Platform.Android/Renderers/ScrollViewRenderer.cs