diff options
author | ztenghui <ztenghui@google.com> | 2015-06-30 15:58:55 -0700 |
---|---|---|
committer | ztenghui <ztenghui@google.com> | 2015-06-30 15:59:21 -0700 |
commit | 810c1c868e7a447baf95c9f9aac1697b1ee861ba (patch) | |
tree | 23f41df3357559074837e0872accff7746d0755f /docs/html/training | |
parent | 9440a6e6bed93e2816647b6834d543fd57181a86 (diff) | |
download | frameworks_base-810c1c868e7a447baf95c9f9aac1697b1ee861ba.zip frameworks_base-810c1c868e7a447baf95c9f9aac1697b1ee861ba.tar.gz frameworks_base-810c1c868e7a447baf95c9f9aac1697b1ee861ba.tar.bz2 |
Update the doc for VectorDrawable's Tint support
b/21726146
Change-Id: I262f77b980afa81407b008276190062974cdc4fa
Diffstat (limited to 'docs/html/training')
-rw-r--r-- | docs/html/training/material/drawables.jd | 5 |
1 files changed, 3 insertions, 2 deletions
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, <code>?android:attr/colorPrimary</code>). Usually, you create these assets only once and color them automatically to match your theme.</p> -<p>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 +<p>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 <code>android:tint</code> and <code>android:tintMode</code> attributes.</p> |