Skip to content

Instantly share code, notes, and snippets.

View androidacy-user's full-sized avatar
🤪
git push --force origin/main

Androidacy Service Account androidacy-user

🤪
git push --force origin/main
View GitHub Profile
@gmemstr
gmemstr / Pipfile
Last active January 22, 2025 00:16
Speedtest against Hetzner servers
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
requests = "*"
[dev-packages]
@laaptu
laaptu / CheckingTheme.java
Last active July 6, 2024 19:47
How to get theme id
TypedValue outValue = new TypedValue();
getTheme().resolveAttribute(R.attr.themeName, outValue, true);
if(outValue.equals(getString(R.string.custom_title_theme))){
//you have applied this theme else not
}
//http://stackoverflow.com/questions/7267852/android-how-to-obtain-the-resource-id-of-the-current-theme