我知道如何在清单中将主题设置为整个应用程序,但如何以编程方式将主题设置为整个应用程序?我正在尝试这个:getApplicationContext.setTheme(R.style.mytheme),但它不起作用.
getApplicationContext.
我认为getApplicationContext是应用程序的上下文,可以设置整个应用程序的主题.
getApplicationContext
android themes
android ×1
themes ×1