Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 810c1c86 authored by ztenghui's avatar ztenghui
Browse files

Update the doc for VectorDrawable's Tint support

b/21726146

Change-Id: I262f77b980afa81407b008276190062974cdc4fa
parent 9440a6e6
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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>