Unless specified otherwise, all of the below tinting applies to both Lollipop and pre-Lollipop using AppCompat v21. To use the support version of these attributes, remove the android namespace.
For instance, android:colorControlNormal
becomes colorControlNormal
.
These attributes will be propagated to their corresponding attributes within the android namespace
for devices running Lollipop. Any exceptions to this will be noted by including the android:
prefix.
- ripple effect (Lollipop only) --
colorControlHighlight
- background (Lollipop only) -
colorPrimaryDark
- background (Lollipop only) -
android:navigationBarColor
- underline (unfocused) --
colorControlNormal
- underline overlay (focus) --
colorAccent
- cursor --
colorAccent
- text color --
android:textColorPrimary
- text color --
android:textColorPrimary
- box unchecked --
colorControlNormal
- box checked --
colorAccent
- unselected --
colorControlNormal
- selected --
colorAccent
- ripple effect (Lollipop only) --
colorControlHighlight
- thumb switch off --
colorSwitchThumbNormal
- thumb switch on --
colorAccent
- track overlay (when switched on) --
colorAccent
- indicator (not pressed) --
colorControlNormal
- indicator (pressed) --
colorAccent
- selected entry text color (Lollipop only) --
android:textColorPrimary
- background --
colorButtonNormal
- text color --
android:textColorPrimary
- background --
colorPrimary
- title color --
android:textColorPrimary
- overflow icon --
android:textColorPrimary
- up button --
android:textColorPrimary
- action icons --
android:textColorPrimary
† - overflow menu background --
android:colorBackground
- overflow text color --
android:textColorPrimary
- background -- must be set manually in XML. Can do
android:background="?attr/colorPrimary"
- overflow icon --
android:textColorPrimary
- navigation icon --
android:textColorPrimary
† - action icons --
android:textColorPrimary
† - overflow menu background --
android:colorBackground
- overflow text color --
android:textColorPrimary