Created
November 25, 2014 22:51
-
-
Save IanLeatherbury/1140c45e47dd3efbaa3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<StackLayout> | |
<StackLayout Orientation="Horizontal" VerticalOptions="Start" Padding="15"> | |
<!--This section allows Employee to change their picture--> | |
<AbsoluteLayout> | |
<Image Source="{Binding PhotoUrl}" VerticalOptions="Start" | |
HeightRequest="115" | |
AbsoluteLayout.LayoutBounds="0, 0, 1, 1" | |
AbsoluteLayout.LayoutFlags="All" /> | |
<BoxView Color = "#bdc3c7" Opacity=".75" VerticalOptions="Start" | |
AbsoluteLayout.LayoutBounds="0, .80, 1, .15" | |
AbsoluteLayout.LayoutFlags="All" /> | |
<Button Text="CHANGE" TextColor="White" Clicked="ChangePhoto" | |
AbsoluteLayout.LayoutBounds=".5, .80, 1, .15" | |
AbsoluteLayout.LayoutFlags="All" /> | |
</AbsoluteLayout> | |
<!-- This section allows an Employee to change their First and Last name--> | |
<StackLayout Orientation="Vertical" Padding="15"> | |
<Label Text="First" Font="Small" TextColor="#1D62F0"/> | |
<Entry Text="{Binding Employee.FirstName}" /> | |
<BoxView Color="#bdc3c7" HeightRequest="1"/> | |
<Label Text="Last" Font="Small" TextColor="#1D62F0"/> | |
<Entry Text="{Binding Employee.LastName}" /> | |
</StackLayout> | |
</StackLayout> | |
<!--This section has the rest of the Employees details--> | |
<StackLayout Padding="15"> | |
<!--Nickname section--> | |
<Label Text="nickname" Font="Small" TextColor="#1D62F0" /> | |
<Entry Text="{Binding Employee.Nickname}" /> | |
<BoxView Color="#bdc3c7" HeightRequest="1" HorizontalOptions="FillAndExpand" /> | |
<!--Title section--> | |
<Label Text="title" Font="Small" TextColor="#1D62F0" /> | |
<Entry Text="{Binding Employee.JobTitle}" /> | |
<BoxView Color="#bdc3c7" HeightRequest="1" HorizontalOptions="FillAndExpand"/> | |
<!--Email Section--> | |
<Label Text="email" Font="Small" TextColor="#1D62F0" /> | |
<Entry Text="{Binding Employee.WorkEmail}"/> | |
<BoxView Color="#bdc3c7" HorizontalOptions="FillAndExpand" HeightRequest="1"/> | |
<!--Mobile section--> | |
<Label Text="mobile" Font="Small" TextColor="#1D62F0" /> | |
<Entry Text="{Binding Employee.MobilePhone}" /> | |
</StackLayout> | |
</StackLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment