Created
June 24, 2017 06:12
-
-
Save juliooa/1f40f6b4c1bae59b4aabfa6017700654 to your computer and use it in GitHub Desktop.
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
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
String styleName = "StyleABC"; //Este nombre lo obtienes desde backend en alguna parte | |
int styleResourceId = getResources().getIdentifier(styleName, "style", getPackageName()); | |
setTheme(style); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment