Created
September 20, 2021 01:21
-
-
Save azimuthdeveloper/60ad54969e238013cd6722199667b1f9 to your computer and use it in GitHub Desktop.
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
<?xml version="1.0" encoding="utf-8" ?> | |
<Application xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="App1.App"> | |
<!-- | |
Define global resources and styles here, that apply to all pages in your app. | |
--> | |
<Application.Resources> | |
<ResourceDictionary> | |
<Color x:Key="Primary">#2196F3</Color> | |
<Style TargetType="Button"> | |
<Setter Property="TextColor" Value="White"></Setter> | |
<Setter Property="VisualStateManager.VisualStateGroups"> | |
<VisualStateGroupList> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal"> | |
<VisualState.Setters> | |
<Setter Property="BackgroundColor" Value="{StaticResource Primary}" /> | |
</VisualState.Setters> | |
</VisualState> | |
<VisualState x:Name="Disabled"> | |
<VisualState.Setters> | |
<Setter Property="BackgroundColor" Value="#332196F3" /> | |
</VisualState.Setters> | |
</VisualState> | |
</VisualStateGroup> | |
</VisualStateGroupList> | |
</Setter> | |
</Style> | |
</ResourceDictionary> | |
</Application.Resources> | |
</Application> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment