-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from alekseynemiro/v1.4
v1.4_to_master
- Loading branch information
Showing
57 changed files
with
1,549 additions
and
562 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<ContentPage | ||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
x:Class="TapPlayer.Maui.AppSettingsPage" | ||
xmlns:markup="clr-namespace:TapPlayer.Maui.MarkupExtensions" | ||
Title="{markup:Localization Key=ApplicationSettings}" | ||
> | ||
<ScrollView | ||
HorizontalScrollBarVisibility="Never" | ||
VerticalScrollBarVisibility="Default" | ||
HorizontalOptions="Fill" | ||
VerticalOptions="Fill" | ||
StyleClass="WithPadding" | ||
> | ||
<VerticalStackLayout | ||
Spacing="8" | ||
> | ||
<Label Text="{markup:Localization Key=LanguageField}" /> | ||
<Border StyleClass="FormField"> | ||
<Picker | ||
ItemsSource="{Binding AvailableLanguages}" | ||
ItemDisplayBinding="{Binding Name}" | ||
SelectedItem="{Binding CurrentLanguage}" | ||
SemanticProperties.Description="{markup:Localization Key=LanguageField}" | ||
/> | ||
</Border> | ||
|
||
<Label Text="{markup:Localization Key=RestartIsRequired}" /> | ||
|
||
<BoxView | ||
StyleClass="Separator" | ||
/> | ||
|
||
<HorizontalStackLayout | ||
Margin="0" | ||
Spacing="8" | ||
> | ||
<Button | ||
Text="{markup:Localization Key=Save}" | ||
Command="{Binding SaveCommand}" | ||
SemanticProperties.Description="{markup:Localization Key=SaveAppSettings}" | ||
/> | ||
<Button | ||
Text="{markup:Localization Key=Cancel}" | ||
StyleClass="SecondaryButton" | ||
Command="{Binding CloseCommand}" | ||
SemanticProperties.Description="{markup:Localization Key=CloseAppSettings}" | ||
/> | ||
</HorizontalStackLayout> | ||
</VerticalStackLayout> | ||
</ScrollView> | ||
</ContentPage> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using TapPlayer.Maui.ViewModels; | ||
|
||
namespace TapPlayer.Maui; | ||
|
||
public partial class AppSettingsPage : ContentPage | ||
{ | ||
public AppSettingsPage(IAppSettingsPageViewModel model) | ||
{ | ||
BindingContext = model; | ||
InitializeComponent(); | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
namespace TapPlayer.Maui.Behaviors; | ||
|
||
internal class DummyBehavior : PlatformBehavior<View> | ||
{ | ||
} |
Oops, something went wrong.