Themes: Expose color for external settings icons
Marhsmallow now allows for system apps to add settings. An icon is loaded from the external package and a tint is applied to the icon so that it matches other icons in the dashboard. The tint color uses the colorAccent attribute from the currently applied style. Themes can overlay the colorAccent but this color is also used for other elements of the UI which may not be ideal. This patch adds a new color external_tile_icon_tint_color which points to the attribute ?android:attr/colorAccent when not themed. This retains the original look but offers better flexibility for theme designers. Change-Id: I95fe8da0768f29e0b762af3a74fd2afad7b15cd2
Loading
Please register or sign in to comment