11

Is it possible to create a theme, that will set styles only for specific view types? For example, if I want the background for the FrameLayout objects to be one color, but leave all other views with the default background color of the theme, how would I do that?

The CSS parallel would be div {background-color:#000000;}. How can I do that in android?

Edit: I found something for TextView only: android:textViewStyle, and you can select a style only for TextViews. But what about other views? Even Custom views? FrameLayout view specifically?

tbkn23
  • 5,205
  • 8
  • 26
  • 46

0 Answers0