use app:chromeDrawableTint to tint TextViewWithCompoundDrawables
We should use app:chromeDrawableTint to tint TextViewWithCompoundDrawables instead of android:drawableTint. android:drawableTint works on API level 23 and above. But somehow not work for PNG drawables in API 23, and TextViewWithCompoundDrawables provide app:chromeDrawableTint to tint, so we can use it to handle the issue. Bug: 1126035 Change-Id: Iebc9b0d0ccf9ca8510bd03d8285d19b2ba705cec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2402102Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Gang Wu <gangwu@chromium.org> Cr-Commit-Position: refs/heads/master@{#805559}
Showing
Please register or sign in to comment