Skip to content

Instantly share code, notes, and snippets.

@PrepareForTest({TextUtils.class})
@SmallTest
public class AuthDataLocalSourceTest {
private static final String EMAIL = "example@jetruby.com";
@Rule
public MockitoRule rule = MockitoJUnit.rule().strictness(Strictness.STRICT_STUBS);
@Rule
@lopspower
lopspower / README.md
Last active May 8, 2024 18:02
Hexadecimal color code for transparency

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.

Download This sample on Google Play Store