This file contains hidden or 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
| To Use FontAwesome | |
| 1. Download Free FontAwesome fonts from website, grab the "Web" fonts. URL:https://fontawesome.com/download | |
| 2. Unzip and copy the font file into both Android and IOS projects. Verify build action. | |
| a. For IOS add entry to info.plist at bottom before </dict> element. | |
| <key>UIAppFonts</key> | |
| <array> | |
| <string>fa-solid-900.ttf</string> | |
| </array> |
This file contains hidden or 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"?> | |
| <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
| <CodeSnippet Format="1.0.0"> | |
| <Header> | |
| <SnippetTypes> | |
| <SnippetType>Expansion</SnippetType> | |
| </SnippetTypes> | |
| <Title>bprop</Title> | |
| <Author>Microsoft Corporation</Author> | |
| <Description>Code snippet for an automatically implemented $name$Property |
This file contains hidden or 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"?> | |
| <resources> | |
| <!-- google's material design colours from | |
| http://www.google.com/design/spec/style/color.html#color-ui-color-palette --> | |
| <!--reds--> | |
| <color name="md_red_50">#FFEBEE</color> | |
| <color name="md_red_100">#FFCDD2</color> | |
| <color name="md_red_200">#EF9A9A</color> |
This file contains hidden or 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
| using System; | |
| using System.IO; | |
| using System.Security.Cryptography; | |
| using System.Text; | |
| namespace CryptoUtil | |
| { | |
| public abstract class RijndaelSimple | |
| { | |
| static internal string passbase = "s@lAvz"; |
This file contains hidden or 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"?> | |
| <android.support.design.widget.CoordinatorLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| android:id="@+id/activity_main" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:fitsSystemWindows="true" | |
| android:orientation="vertical"> |
This file contains hidden or 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
| using Newtonsoft.Json; | |
| using System; | |
| using System.Net.Http; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace Services | |
| { | |
| public partial class Firebase | |
| { |
This file contains hidden or 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
| public static BitmapDescriptor getBitmapDescriptor(int id, Context context) | |
| { | |
| if (Build.VERSION.SdkInt >= Build.VERSION_CODES.Lollipop) | |
| { | |
| VectorDrawable vectorDrawable = (VectorDrawable)ContextCompat.GetDrawable(context, id); | |
| int h = vectorDrawable.IntrinsicHeight; | |
| int w = vectorDrawable.IntrinsicWidth; | |
| vectorDrawable.Bounds = new Rect(0, 0, w, h); |
This file contains hidden or 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
| public override void RegisteredForRemoteNotifications(UIApplication application, NSData deviceToken) | |
| { | |
| // Get current device token | |
| var DeviceToken = deviceToken.Description; | |
| if (!string.IsNullOrWhiteSpace(DeviceToken)) | |
| { | |
| DeviceToken = DeviceToken.Trim('<').Trim('>'); | |
| CrossFirebasePushNotification.Current.Subscribe("Ecopulse_news"); | |
| CrossFirebasePushNotification.Current.Subscribe("Ecopulse_ios"); |
This file contains hidden or 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
| <!--Ecopulse Color Theme--> | |
| <color name="background_color_gradiente_superior">#FF6A3C</color> | |
| <color name="background_color_gradiente_inferior">#F95344</color> | |
| <color name="formulario_input_color">#FFFFFF</color> | |
| <color name="formulario_default_text_color">#CCCCCC</color> | |
| <color name="formulario_text_color">#303030</color> | |
| <color name="button_background_color_off">#F45131</color> | |
| <color name="button_background_color_on">#F45131</color> | |
| <color name="button_text_color">#FFFFFF</color> | |
| <color name="olvidaste_tu_constraseña">#FFFFFF</color> |
This file contains hidden or 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" ?> | |
| <resources> | |
| <color name="red_50">#FFEBEE</color> | |
| <color name="red_100">#FFCDD2</color> | |
| <color name="red_200">#EF9A9A</color> | |
| <color name="red_300">#E57373</color> | |
| <color name="red_400">#EF5350</color> | |
| <color name="red_500">#F44336</color> | |
| <color name="red_600">#E53935</color> | |
| <color name="red_700">#D32F2F</color> |
NewerOlder