Skip to content

Commit

Permalink
Removing live player test xml from the sample
Browse files Browse the repository at this point in the history
  • Loading branch information
timeyoutakeit committed Nov 20, 2017
1 parent 0d0984d commit 6c79766
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 27 deletions.
20 changes: 2 additions & 18 deletions LivePlayer/LiveView/LiveView/LiveView/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,10 @@
xmlns:local="clr-namespace:LiveView"
x:Class="LiveView.MainPage">
<ContentPage.Content>
<StackLayout BackgroundColor="Maroon">
<Label x:Name="label"
Text="I Love Xamarin.Forms!"
FontSize="Small"
<StackLayout>
<Label Text="Welcome to Xamarin.Forms!"
VerticalOptions="CenterAndExpand"
HorizontalOptions="CenterAndExpand" />
<Button Text="Click Me!" TextColor="Olive" Clicked="OnButtonClicked"/>
<Picker Title="Select a monkey"
VerticalOptions="CenterAndExpand"
HorizontalOptions="CenterAndExpand">
<Picker.Items>
<x:String>Baboon</x:String>
<x:String>Capuchin Monkey</x:String>
<x:String>Blue Monkey</x:String>
<x:String>Squirrel Monkey</x:String>
<x:String>Golden Lion Tamarin</x:String>
<x:String>Howler Monkey</x:String>
<x:String>Japanese Macaque</x:String>
</Picker.Items>
</Picker>
</StackLayout>
</ContentPage.Content>
</ContentPage>
9 changes: 0 additions & 9 deletions LivePlayer/LiveView/LiveView/LiveView/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,10 @@ namespace LiveView
{
public partial class MainPage : ContentPage
{
int clickTotal = 0;

public MainPage()
{
InitializeComponent();
}

void OnButtonClicked(object sender, EventArgs e)
{
clickTotal += 1;
label.Text = String.Format("{0} button click{1}",
clickTotal, clickTotal == 1 ? "" : "s");
}
}
}
}

0 comments on commit 6c79766

Please sign in to comment.