For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
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
how to add a git android library project as a sub module, to a project | |
1. create an android project | |
2. add to vcs (vcs - import into version control - create git repository) | |
3. goto terminal and add sub-module - make sure the location folder name is different than the original project name | |
git submodule add https://[email protected]/YYY/ZZZ.git | |
4. goto file menu - project structure | |
5. click '+' on left top | |
6. select 'import gradle project' |
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
/* | |
In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp | |
server, but for some reason omit a client connecting to it. I added an | |
example at the bottom. | |
Save the following server in example.js: | |
*/ | |
var net = require('net'); |
NewerOlder