From 810c1c868e7a447baf95c9f9aac1697b1ee861ba Mon Sep 17 00:00:00 2001 From: ztenghui Date: Tue, 30 Jun 2015 15:58:55 -0700 Subject: Update the doc for VectorDrawable's Tint support b/21726146 Change-Id: I262f77b980afa81407b008276190062974cdc4fa --- docs/html/training/material/drawables.jd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/html/training') diff --git a/docs/html/training/material/drawables.jd b/docs/html/training/material/drawables.jd index a2de8e9..c58075e 100644 --- a/docs/html/training/material/drawables.jd +++ b/docs/html/training/material/drawables.jd @@ -36,8 +36,9 @@ alpha masks. You can tint them with color resources or theme attributes that res resources (for example, ?android:attr/colorPrimary). Usually, you create these assets only once and color them automatically to match your theme.

-

You can apply a tint to {@link android.graphics.drawable.BitmapDrawable} or {@link -android.graphics.drawable.NinePatchDrawable} objects with the {@code setTint()} method. You can +

You can apply a tint to {@link android.graphics.drawable.BitmapDrawable}, {@link +android.graphics.drawable.NinePatchDrawable} or {@link +android.graphics.drawable.VectorDrawable} objects with the {@code setTint()} method. You can also set the tint color and mode in your layouts with the android:tint and android:tintMode attributes.

-- cgit v1.1