How to set a theme to whole application in code, but not in the Manifest?

前端 未结 6 1518
萌比男神i
萌比男神i 2020-12-16 17:11

I know how to set theme to whole application in manifest,but how to set theme to whole application programmatically ? I am trying this: getApplicationContext.se

6条回答
  •  再見小時候
    2020-12-16 17:38

    You can create BaseActivity. Change your style in this Activity. All your activity inherit from this Activity.

提交回复
热议问题