OSDN Git Service

Add 2 attributes for list_divider_material
authorMill Chen <millchen@google.com>
Wed, 8 May 2019 10:50:05 +0000 (18:50 +0800)
committerMill Chen <millchen@google.com>
Mon, 20 May 2019 11:51:11 +0000 (19:51 +0800)
commit28e8f9f365a18a782588e15901360f1023017fd9
tree116432e51057033f219c1970e2fd62ed11cfa455
parent94b2981853f47de2e38494a0e78ef0af3ba39354
Add 2 attributes for list_divider_material

We added two attributes for list divider, one gets set up the color of list
divider and the other gets set up the opacity of its color. This
approach facilitates updating the color of the list divider for device
default themes.

Bug: 129943610
Test: visual
Change-Id: Ia319a31e223a86d71720e2dab63dce200ca824df
core/res/res/drawable/list_divider_material.xml
core/res/res/values-night/themes_device_defaults.xml
core/res/res/values/attrs.xml
core/res/res/values/colors_device_defaults.xml
core/res/res/values/colors_material.xml
core/res/res/values/themes_device_defaults.xml
core/res/res/values/themes_material.xml