diff --git a/Demo/App.iOS/App.iOS.csproj b/Demo/App.iOS/App.iOS.csproj index d9b795f..70000aa 100644 --- a/Demo/App.iOS/App.iOS.csproj +++ b/Demo/App.iOS/App.iOS.csproj @@ -36,6 +36,8 @@ 4 None x86_64 + Apple Development: Ieuan Walker (R4SVVV33HW) + VS: WildCard Development true diff --git a/Demo/App/App.csproj b/Demo/App/App.csproj index 23f721d..16f3c10 100644 --- a/Demo/App/App.csproj +++ b/Demo/App/App.csproj @@ -19,4 +19,10 @@ + + + + MSBuild:UpdateDesignTimeXaml + + \ No newline at end of file diff --git a/Demo/App/App.xaml.cs b/Demo/App/App.xaml.cs index a48e404..a5f9d9d 100644 --- a/Demo/App/App.xaml.cs +++ b/Demo/App/App.xaml.cs @@ -8,7 +8,7 @@ public App() { InitializeComponent(); - MainPage = new MainPage(); + MainPage = new NavigationPage(new MainPage()); } } } \ No newline at end of file diff --git a/Demo/App/ButtonNotInScrollViewPage.xaml b/Demo/App/ButtonNotInScrollViewPage.xaml new file mode 100644 index 0000000..855f37a --- /dev/null +++ b/Demo/App/ButtonNotInScrollViewPage.xaml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Demo/App/ButtonNotInScrollViewPage.xaml.cs b/Demo/App/ButtonNotInScrollViewPage.xaml.cs new file mode 100644 index 0000000..0a443fe --- /dev/null +++ b/Demo/App/ButtonNotInScrollViewPage.xaml.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +using Xamarin.Forms; +using Xamarin.Forms.Xaml; + +namespace App +{ + [XamlCompilation(XamlCompilationOptions.Compile)] + public partial class ButtonNotInScrollViewPage : ContentPage + { + public ButtonNotInScrollViewPage() + { + InitializeComponent(); + } + + private async void StateButton_Clicked(object sender, EventArgs e) + { + await DisplayAlert("Clicked", string.Empty, "OK"); + } + + private async void StateButton_Released(object sender, EventArgs e) + { + await DisplayAlert("Release", string.Empty, "OK"); + } + } +} \ No newline at end of file diff --git a/Demo/App/MainPage.xaml b/Demo/App/MainPage.xaml index 4bce074..a608e46 100644 --- a/Demo/App/MainPage.xaml +++ b/Demo/App/MainPage.xaml @@ -4,13 +4,16 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:app="clr-namespace:App;assembly=App" xmlns:stateButton="clr-namespace:StateButton;assembly=StateButton" - xmlns:xct="http://xamarin.com/schemas/2020/toolkit"> + xmlns:xct="http://xamarin.com/schemas/2020/toolkit" + NavigationPage.HasNavigationBar="False"> - +