Skip to content

Instantly share code, notes, and snippets.

View dani16antonio's full-sized avatar
🎯
Focusing

Daniel Antonio Díaz Quiroz dani16antonio

🎯
Focusing
View GitHub Profile
@dani16antonio
dani16antonio / CurrencyConverter.cs
Created March 12, 2020 18:56 — forked from alfeugds/CurrencyConverter.cs
Xamarin Forms Currency Mask for Entry fields
using System;
using System.Globalization;
using System.Text.RegularExpressions;
using Xamarin.Forms;
namespace MyProject.Util
{
/// <summary>
/// Converter for using in Entry fields for masked input of currency.
/// <para>The binded property must be of type decimal, and must invoke the PropertyChangedEventArgs event whenever the value is changed, so that the desired mask behavior is kept.</para>
@dani16antonio
dani16antonio / colors.xml
Created August 8, 2018 16:39 — forked from sghael/colors.xml
Android colors.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="white">#FFFFFF</color>
<color name="ivory">#FFFFF0</color>
<color name="light_yellow">#FFFFE0</color>
<color name="yellow">#FFFF00</color>
<color name="snow">#FFFAFA</color>
<color name="floral_white">#FFFAF0</color>
<color name="lemon_chiffon">#FFFACD</color>
<color name="cornsilk">#FFF8DC</color>