How do I change the textColorPrimary in a theme?

后端 未结 3 2394
借酒劲吻你
借酒劲吻你 2021-02-20 16:21

I\'m changing the theme of an activity in onCreate using setTheme (I\'m doing that even before calling super.onCreate(), as this is supposed to be more reliable).

It doe

3条回答
  •  广开言路
    2021-02-20 17:02

    The only difference between "style" and "theme" is the scope at which a style is applied at. A style applied to an Activity is called a Theme.

    Here's a good writeup on the topic : http://brainflush.wordpress.com/2009/03/15/understanding-android-themes-and-styles/

提交回复
热议问题