Начало верстки
This commit is contained in:
parent
74172bb298
commit
c16dabb56b
@ -1,10 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
x:Class="MobailApp.MainPage">
|
x:Class="MobailApp.MainPage"
|
||||||
|
MaximumHeightRequest="812"
|
||||||
|
HeightRequest="812"
|
||||||
|
MaximumWidthRequest="375"
|
||||||
|
WidthRequest="375">
|
||||||
|
|
||||||
<ScrollView>
|
<ScrollView>
|
||||||
<VerticalStackLayout
|
<!--<VerticalStackLayout
|
||||||
Padding="30,0"
|
Padding="30,0"
|
||||||
Spacing="25">
|
Spacing="25">
|
||||||
<Image
|
<Image
|
||||||
@ -36,7 +40,44 @@
|
|||||||
SemanticProperties.Hint="Counts the number of times you click"
|
SemanticProperties.Hint="Counts the number of times you click"
|
||||||
Clicked="NewPageOpenbtn_Clicked"
|
Clicked="NewPageOpenbtn_Clicked"
|
||||||
HorizontalOptions="Fill" />
|
HorizontalOptions="Fill" />
|
||||||
</VerticalStackLayout>
|
</VerticalStackLayout>-->
|
||||||
|
<Grid>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="416"/>
|
||||||
|
<RowDefinition Height="19"/>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
<StackLayout>
|
||||||
|
<StackLayout Margin="20,75,20,0">
|
||||||
|
<Label Text="Привет!"/>
|
||||||
|
<Label Text="Заполните Свои Данные Или Продолжите Через Социальные Медиа"/>
|
||||||
|
</StackLayout>
|
||||||
|
<StackLayout Margin="20,30,20,0">
|
||||||
|
<StackLayout>
|
||||||
|
<StackLayout>
|
||||||
|
<Label Text="Email"/>
|
||||||
|
<HorizontalStackLayout>
|
||||||
|
<Frame CornerRadius="15" BackgroundColor="#f7f7f9">
|
||||||
|
<Entry/>
|
||||||
|
</Frame>
|
||||||
|
</HorizontalStackLayout>
|
||||||
|
</StackLayout>
|
||||||
|
<StackLayout>
|
||||||
|
<Label Text="Пароль"/>
|
||||||
|
<HorizontalStackLayout>
|
||||||
|
<Frame CornerRadius="15" BackgroundColor="#f7f7f9">
|
||||||
|
<Entry IsPassword="True"/>
|
||||||
|
</Frame>
|
||||||
|
</HorizontalStackLayout>
|
||||||
|
</StackLayout>
|
||||||
|
</StackLayout>
|
||||||
|
<Button Text="Войти" TextColor="White"/>
|
||||||
|
</StackLayout>
|
||||||
|
</StackLayout>
|
||||||
|
<HorizontalStackLayout>
|
||||||
|
<Label/>
|
||||||
|
<Button/>
|
||||||
|
</HorizontalStackLayout>
|
||||||
|
</Grid>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|
||||||
</ContentPage>
|
</ContentPage>
|
||||||
|
@ -2,29 +2,29 @@
|
|||||||
{
|
{
|
||||||
public partial class MainPage : ContentPage
|
public partial class MainPage : ContentPage
|
||||||
{
|
{
|
||||||
int count = 0;
|
//int count = 0;
|
||||||
|
|
||||||
public MainPage()
|
public MainPage()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnCounterClicked(object sender, EventArgs e)
|
//private void OnCounterClicked(object sender, EventArgs e)
|
||||||
{
|
//{
|
||||||
count++;
|
// count++;
|
||||||
|
|
||||||
if (count == 1)
|
// if (count == 1)
|
||||||
CounterBtn.Text = $"Clicked {count} time";
|
// CounterBtn.Text = $"Clicked {count} time";
|
||||||
else
|
// else
|
||||||
CounterBtn.Text = $"Clicked {count} times";
|
// CounterBtn.Text = $"Clicked {count} times";
|
||||||
|
|
||||||
SemanticScreenReader.Announce(CounterBtn.Text);
|
// SemanticScreenReader.Announce(CounterBtn.Text);
|
||||||
}
|
//}
|
||||||
|
|
||||||
private async void NewPageOpenbtn_Clicked(System.Object sender, System.EventArgs e)
|
//private async void NewPageOpenbtn_Clicked(System.Object sender, System.EventArgs e)
|
||||||
{
|
//{
|
||||||
await Navigation.PushAsync(new NewPage1());
|
// await Navigation.PushAsync(new NewPage1());
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<IsFirstTimeProjectOpen>False</IsFirstTimeProjectOpen>
|
<IsFirstTimeProjectOpen>False</IsFirstTimeProjectOpen>
|
||||||
<ActiveDebugFramework>net8.0-windows10.0.19041.0</ActiveDebugFramework>
|
<ActiveDebugFramework>net8.0-android</ActiveDebugFramework>
|
||||||
<ActiveDebugProfile>Windows Machine</ActiveDebugProfile>
|
<ActiveDebugProfile>Pixel 2 Q 10.0 - API 29 (Android 10.0 — API 29)</ActiveDebugProfile>
|
||||||
|
<SelectedPlatformGroup>Emulator</SelectedPlatformGroup>
|
||||||
|
<DefaultDevice>pixel_2_-_api_29</DefaultDevice>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<MauiXaml Update="NewPage1.xaml">
|
<MauiXaml Update="NewPage1.xaml">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user