-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Issue11185.cs
43 lines (37 loc) · 1003 Bytes
/
Issue11185.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.Forms.Core.UITests;
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls.Issues
{
#if UITEST
[Category(UITestCategories.ManualReview)]
#endif
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Github, 11185, "ScrollViewRenderer HorizontalFadingEdgeEnabled ignored on horizontal ScrollView orientation", PlatformAffected.Android)]
public class Issue11185 : TestContentPage // or TestMasterDetailPage, etc ...
{
protected override void Init()
{
var layout = new StackLayout
{
Orientation = StackOrientation.Horizontal
};
for (int i = 0; i < 20; i++)
{
layout.Children.Add(new BoxView { WidthRequest = 100, HeightRequest = 100, BackgroundColor = Color.LightCoral });
}
Content = new ScrolView11185
{
Orientation = ScrollOrientation.Horizontal,
Content = layout
};
}
}
public class ScrolView11185 : ScrollView
{
}
}