Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:leadtools="clr-namespace:Leadtools.Camera.Xamarin;assembly=Leadtools.Camera.Xamarin"
x:Class="UEngage.Report">
<ContentPage.Content>
<Grid>
<ScrollView>
<Grid VerticalOptions="FillAndExpand" RowDefinitions="200,50,20,20, 100,50,*" Padding="20,10,20,10" >
<ImageButton Grid.Row="0" Source="camera.png" VerticalOptions="Center" HorizontalOptions="Center" HeightRequest="200" WidthRequest="200" Padding="10" x:Name="btnCamera" Clicked="btnCamera_Clicked"></ImageButton>
<Picker Grid.Row="1" x:Name="defectpicker" Title="Select type of defect" >
<Picker.ItemsSource>
<x:Array Type="{x:Type x:String}">
<x:String>No electricity</x:String>
<x:String>Traffic light not working</x:String>
<x:String>Pothole</x:String>
<x:String>Guarbage</x:String>
</x:Array>
</Picker.ItemsSource>
</Picker>
<Label Grid.Row="2" FontSize="Default" TextColor="#464655" x:Name="lat"></Label>
<Label Grid.Row="3" FontSize="Default" TextColor="#464655" x:Name="lon"></Label>
<Editor Grid.Row="4" TextColor="#464655" Placeholder="Description" BackgroundColor="LightGray" HeightRequest="200" x:Name="txtDescription" ></Editor>
<Label Text="" TextColor="#464655" Grid.Row="5" x:Name="lblfilelocation"></Label>
<Button Grid.Row="6" BackgroundColor="#560A86"
TextColor="White" FontAttributes="Bold" HeightRequest="50" CornerRadius="8" VerticalOptions="End" Text="Submit Report" x:Name="btnsubmit" Clicked="btnsubmit_Clicked"></Button>
</Grid>
</ScrollView>
<StackLayout IsVisible="False" x:Name="busyIndi" BackgroundColor="Black" Opacity="0.7" Orientation="Vertical">
<StackLayout Orientation="Vertical" HorizontalOptions="Center" VerticalOptions="CenterAndExpand">
<ActivityIndicator Color="#781241" IsRunning="true" />
<Label x:Name="progressname" Text="Loading..." TextColor="Accent" VerticalOptions="Center" />
</StackLayout>
</StackLayout>
</Grid>
</ContentPage.Content>
</ContentPage>