-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainPage.xaml
More file actions
80 lines (52 loc) · 2.61 KB
/
Copy pathMainPage.xaml
File metadata and controls
80 lines (52 loc) · 2.61 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="DatadogNet.Android.Example.MainPage"
Title="DatadogNet">
<ScrollView>
<VerticalStackLayout Padding="24" Spacing="16">
<Label Text="Datadog for .NET Android"
FontSize="26"
FontAttributes="Bold" />
<Label x:Name="StatusLabel"
FontSize="14"
TextColor="Gray" />
<BoxView HeightRequest="1" Color="LightGray" />
<Label Text="RUM" FontSize="18" FontAttributes="Bold" />
<Button x:Name="CounterBtn"
Text="Record an action"
Clicked="OnCounterClicked" />
<Button Text="Record a handled error"
Clicked="OnReportErrorClicked" />
<Button Text="Track a unit of work as a view"
Clicked="OnTrackWork" />
<Button Text="Show the current session id"
Clicked="OnShowSessionId" />
<BoxView HeightRequest="1" Color="LightGray" />
<Label Text="Trace" FontSize="18" FontAttributes="Bold" />
<Button Text="Trace an outgoing HTTP request"
Clicked="OnTraceRequest" />
<Button Text="Record a failed span"
Clicked="OnFailedSpan" />
<BoxView HeightRequest="1" Color="LightGray" />
<Label Text="Logs" FontSize="18" FontAttributes="Bold" />
<Button Text="Write a log at every level"
Clicked="OnWriteLogs" />
<Button Text="Log a caught exception"
Clicked="OnLogException" />
<BoxView HeightRequest="1" Color="LightGray" />
<Label Text="Automatic instrumentation" FontSize="18" FontAttributes="Bold" />
<Button Text="Make an OkHttp request through DatadogInterceptor"
Clicked="OnOkHttpRequest" />
<BoxView HeightRequest="1" Color="LightGray" />
<Label Text="Web view" FontSize="18" FontAttributes="Bold" />
<Button Text="Open a tracked web view"
Clicked="OnOpenWebView" />
<BoxView HeightRequest="1" Color="LightGray" />
<Label Text="Activity" FontSize="18" FontAttributes="Bold" />
<Label x:Name="ActivityLabel"
FontSize="13"
LineBreakMode="WordWrap" />
</VerticalStackLayout>
</ScrollView>
</ContentPage>