|
1 | 1 | <?xml version="1.0" encoding="utf-8" ?>
|
2 |
| -<ContentView |
3 |
| - x:Class="ArcGIS.ApiKeyView" |
4 |
| - xmlns="http://schemas.microsoft.com/dotnet/2021/maui" |
5 |
| - xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"> |
| 2 | +<ContentView x:Class="ArcGIS.ApiKeyView" |
| 3 | + xmlns="http://schemas.microsoft.com/dotnet/2021/maui" |
| 4 | + xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"> |
6 | 5 | <ContentView.Content>
|
7 | 6 | <StackLayout Orientation="Vertical">
|
8 |
| - <Label x:Name="Instructions" Margin="5"> |
9 |
| - <Label.FormattedText> |
10 |
| - <FormattedString> |
11 |
| - <Span Text="Some content used in the samples requires a developer API key for access. Go to " /> |
12 |
| - <Span |
13 |
| - Text="the developer documentation" |
14 |
| - TextColor="Blue" |
15 |
| - TextDecorations="Underline"> |
16 |
| - <Span.GestureRecognizers> |
17 |
| - <TapGestureRecognizer Tapped="LinkTapped" /> |
18 |
| - </Span.GestureRecognizers> |
19 |
| - </Span> |
20 |
| - <Span Text=" to learn how to obtain a developer API key for ArcGIS Online." /> |
21 |
| - </FormattedString> |
22 |
| - </Label.FormattedText> |
23 |
| - </Label> |
24 |
| - <StackLayout Orientation="Horizontal"> |
| 7 | + <HorizontalStackLayout Margin="5"> |
| 8 | + <Label Text="Some content used in the samples requires an API key to access ArcGIS location services. Go to " /> |
| 9 | + <Label Text="the developer documentation tutorial" |
| 10 | + TextColor="Blue" |
| 11 | + TextDecorations="Underline"> |
| 12 | + <Label.GestureRecognizers> |
| 13 | + <TapGestureRecognizer Tapped="LinkTapped" /> |
| 14 | + </Label.GestureRecognizers> |
| 15 | + </Label> |
| 16 | + <Label Text=" to create a new API key." /> |
| 17 | + </HorizontalStackLayout> |
| 18 | + <Label Margin="5" Text="Ensure that your API key privileges include basemaps, geocoding and routing services to run all samples." /> |
| 19 | + <StackLayout Margin="5,0" Orientation="Horizontal"> |
25 | 20 | <Label Text="Current API key:" />
|
26 | 21 | <Label x:Name="CurrentKeyText" Margin="5,0,0,0" />
|
27 | 22 | </StackLayout>
|
28 |
| - <Entry |
29 |
| - x:Name="KeyEntryBox" |
30 |
| - Margin="5" |
31 |
| - Text="" /> |
| 23 | + <Entry x:Name="KeyEntryBox" |
| 24 | + Margin="5" |
| 25 | + Text="" /> |
32 | 26 | <StackLayout Orientation="Horizontal">
|
33 |
| - <Button |
34 |
| - x:Name="SetKeyButton" |
35 |
| - Margin="5" |
36 |
| - Clicked="SetKeyButton_Clicked" |
37 |
| - Text="Set API key" /> |
38 |
| - <Button |
39 |
| - x:Name="DeleteKeyButton" |
40 |
| - Margin="5" |
41 |
| - Clicked="DeleteKeyButton_Clicked" |
42 |
| - Text="Delete API key" /> |
| 27 | + <Button x:Name="SetKeyButton" |
| 28 | + Margin="5" |
| 29 | + Clicked="SetKeyButton_Clicked" |
| 30 | + Text="Set API key" /> |
| 31 | + <Button x:Name="DeleteKeyButton" |
| 32 | + Margin="5" |
| 33 | + Clicked="DeleteKeyButton_Clicked" |
| 34 | + Text="Delete API key" /> |
43 | 35 | </StackLayout>
|
44 | 36 | <Label x:Name="Status" Margin="5,0,0,0" />
|
45 | 37 | </StackLayout>
|
|
0 commit comments