Updated setting swtich

This commit is contained in:
Javier Suárez Ruiz 2016-11-21 16:53:27 +01:00
parent 4d8ccd3c74
commit 84d66877be
33 changed files with 35 additions and 35 deletions

View File

@ -37,7 +37,7 @@
<Setter Property="VerticalOptions" <Setter Property="VerticalOptions"
Value="Center" /> Value="Center" />
<Setter Property="Margin" <Setter Property="Margin"
Value="12, 0" /> Value="12, 12, 12, 0" />
</Style> </Style>
</ResourceDictionary> </ResourceDictionary>
@ -83,15 +83,15 @@
Style="{StaticResource SettingsToggleButtonStyle}"> Style="{StaticResource SettingsToggleButtonStyle}">
<controls:ToggleButton.CheckedImage> <controls:ToggleButton.CheckedImage>
<OnPlatform x:TypeArguments="ImageSource" <OnPlatform x:TypeArguments="ImageSource"
Android="toggle_azure" Android="switchOn"
iOS="toggle_azure" iOS="switchOn"
WinPhone="Assets/toggle_azure.png"/> WinPhone="Assets/switchOn.png"/>
</controls:ToggleButton.CheckedImage> </controls:ToggleButton.CheckedImage>
<controls:ToggleButton.UnCheckedImage> <controls:ToggleButton.UnCheckedImage>
<OnPlatform x:TypeArguments="ImageSource" <OnPlatform x:TypeArguments="ImageSource"
Android="toggle_local" Android="switchOff"
iOS="toggle_local" iOS="switchOff"
WinPhone="Assets/toggle_local.png"/> WinPhone="Assets/switchOff.png"/>
</controls:ToggleButton.UnCheckedImage> </controls:ToggleButton.UnCheckedImage>
</controls:ToggleButton> </controls:ToggleButton>
<Grid <Grid

View File

@ -2330,10 +2330,10 @@ namespace eShopOnContainers.Droid
public const int splash_drawable = 2130837680; public const int splash_drawable = 2130837680;
// aapt resource value: 0x7f0200b1 // aapt resource value: 0x7f0200b1
public const int toggle_azure = 2130837681; public const int switch_off = 2130837681;
// aapt resource value: 0x7f0200b2 // aapt resource value: 0x7f0200b2
public const int toggle_local = 2130837682; public const int switch_on = 2130837682;
static Drawable() static Drawable()
{ {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -317,15 +317,6 @@
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable\fake_product_05.png" /> <AndroidResource Include="Resources\drawable\fake_product_05.png" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable-hdpi\toggle_local.png" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable-xhdpi\toggle_local.png" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable-xxhdpi\toggle_local.png" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-hdpi\app_settings.png" /> <AndroidResource Include="Resources\drawable-hdpi\app_settings.png" />
</ItemGroup> </ItemGroup>
@ -336,13 +327,22 @@
<AndroidResource Include="Resources\drawable-xxhdpi\app_settings.png" /> <AndroidResource Include="Resources\drawable-xxhdpi\app_settings.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-hdpi\toggle_azure.png" /> <AndroidResource Include="Resources\drawable-hdpi\switch_on.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-xxhdpi\toggle_azure.png" /> <AndroidResource Include="Resources\drawable-xhdpi\switch_on.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-xhdpi\toggle_azure.png" /> <AndroidResource Include="Resources\drawable-xxhdpi\switch_on.png" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable-hdpi\switch_off.png" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable-xhdpi\switch_off.png" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable-xxhdpi\switch_off.png" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" /> <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<Import Project="..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets')" /> <Import Project="..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets')" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -139,8 +139,8 @@
<Content Include="Assets\menu_filter.png" /> <Content Include="Assets\menu_filter.png" />
<Content Include="Assets\menu_profile.png" /> <Content Include="Assets\menu_profile.png" />
<Content Include="Assets\product_add.png" /> <Content Include="Assets\product_add.png" />
<Content Include="Assets\toggle_azure.png" /> <Content Include="Assets\switchOff.png" />
<Content Include="Assets\toggle_local.png" /> <Content Include="Assets\switchOn.png" />
<Content Include="Properties\Default.rd.xml" /> <Content Include="Properties\Default.rd.xml" />
<Content Include="Assets\LockScreenLogo.scale-200.png" /> <Content Include="Assets\LockScreenLogo.scale-200.png" />
<Content Include="Assets\SplashScreen.scale-200.png" /> <Content Include="Assets\SplashScreen.scale-200.png" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -295,15 +295,6 @@
<ItemGroup> <ItemGroup>
<BundleResource Include="Resources\product_add%403x.png" /> <BundleResource Include="Resources\product_add%403x.png" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\toggle_local.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\toggle_local%402x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\toggle_local%403x.png" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<BundleResource Include="Resources\app_settings%403x.png" /> <BundleResource Include="Resources\app_settings%403x.png" />
</ItemGroup> </ItemGroup>
@ -314,13 +305,22 @@
<BundleResource Include="Resources\app_settings%402x.png" /> <BundleResource Include="Resources\app_settings%402x.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<BundleResource Include="Resources\toggle_azure%402x.png" /> <BundleResource Include="Resources\switchOff.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<BundleResource Include="Resources\toggle_azure%403x.png" /> <BundleResource Include="Resources\switchOff%402x.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<BundleResource Include="Resources\toggle_azure.png" /> <BundleResource Include="Resources\switchOff%403x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\switchOn.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\switchOn%402x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\switchOn%403x.png" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" /> <Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">