Skip to content
Permalink
b622a26a36
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
23 lines (23 sloc) 1.07 KB
<?xml version="1.0" encoding="utf-8" ?>
<mvvm:TinyView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:mvvm="clr-namespace:TinyMvvm;assembly=TinyMvvm.Maui"
xmlns:vm="clr-namespace:app.ViewModels"
x:Class="app.Views.LoginView"
x:DataType="vm:LoginViewModel"
Shell.NavBarIsVisible="False"
Title="Login">
<!-- using Grid as the layout for the login page -->
<Grid>
<Image Source="logo.png" Aspect="Fill"/>
<Button Text="Log in with Spotify"
Command="{Binding OpenLoginCommand}"
VerticalOptions="Center"
HorizontalOptions="Center"/>
<!-- using a frame to hold everything; easy to animate -->
<Frame x:Name="Login" IsVisible="False" CornerRadius="10" BorderColor="Black" Padding="10">
<!-- a webview for signing in to an individual spotify account -->
<WebView x:Name="LoginWeb"/>
</Frame>
</Grid>
</mvvm:TinyView>