Skip to content

Instantly share code, notes, and snippets.

📲
Available for hire

Marcos Calvo García marcoscgdev

📲
Available for hire
Block or report user

Report or block marcoscgdev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@marcoscgdev
marcoscgdev / AsyncTaskExample.java
Last active Jul 22, 2019
An easy example of background network request in Android using AsyncTask.
View AsyncTaskExample.java
package com.marcoscg.sportstv.utils;
import android.os.AsyncTask;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.charset.StandardCharsets;
@marcoscgdev
marcoscgdev / README.md
Created Feb 10, 2018 — forked from lopspower/README.md
Hexadecimal color code for transparency
View README.md

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

You can’t perform that action at this time.