Change them in Android

https://github.com/codepath/android-theme-switcher
https://stackoverflow.com/questions/11562051/change-activitys-theme-programmatically
https://guides.codepath.com/android/Developing-Custom-Themes#3-custom-attributes
https://guides.codepath.com/android/Developing-Custom-Themes#5-custom-styles-and-drawables

Advertisements

Work with Firebase Cloud Functions

#Source
https://medium.com/codingthesmartway-com-blog/introduction-to-firebase-cloud-functions-c220613f0ef

* Installing Firebase CLI
$ npm install -g firebase-tools

* Initiate A New FirebAse Cloud Functions Project and then login
$ firebase login

* Now you’re ready to create a new Firebase Cloud Functions project. First create a new empty project folder
$ mkdir fb-functions

* Then change into the newly created folder
$ cd fb-functions

* Execute the following command
$ firebase init functions

* You’re being asked to select the Firebase project you would like to use for the Firebase Cloud Functions project. You can also select the entry [create a new project] if you would like to add a new Firebase project to your account:

* The Firebase CloudFunctions project has been setup successfully initiated.

# To deploy our project to Firebase
$ firebase deploy –only functions

# To Test in local emulator our project
$ firebase serve –only functions

Firebase Cloud Functions – Triggers

#Source
https://medium.com/codingthesmartway-com-blog/introduction-to-firebase-cloud-functions-c220613f0ef

#To Registered Realtime Database Triggers (functions.database.ref)
exports.newUserCreated = functions.database.ref(‘/messages/{userID}’).onCreate(event => { … });

#To Registered Authentication Triggers(functions.auth.user())
*user is created
exports.newUserCreated = functions.auth.user().onCreate(event => { … });

* For Update “onUpdate” , for Delete “onDelete” etc

#To Registered CLOUD STORAGE TRIGGERS (functions.storage)
exports.storageChanges = functions.storage.object().onChange(event => {…});

#To Registered HTTP TRIGGERS (functions.https)
exports.httpTest = functions.https.onRequest((req, res) => {…});

#To Registered Analytics Triggers (functions.analytics)
exports.onPurchase = functions.analytics.event(‘in_app_purchase’).onLog(event => {…});

Gradient background image generator online

http://angrytools.com/gradient/image.php
http://www.colorzilla.com/gradient-editor/
http://tools.dynamicdrive.com/gradient/
https://www.cssmatic.com/gradient-generator#’-moz-linear-gradient%28left%2C%20rgba%28248%2C80%2C50%2C1%29%200%25%2C%20rgba%28241%2C111%2C92%2C1%29%2050%25%2C%20rgba%28246%2C41%2C12%2C1%29%2051%25%2C%20rgba%28240%2C47%2C23%2C1%29%2071%25%2C%20rgba%28231%2C56%2C39%2C1%29%20100%25%29%3B’