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

Commit f86c89f0 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "docs: Fixed attribute mismatch between XML and Java code samples for a...

Merge "docs: Fixed attribute mismatch between XML and Java code samples for a "Clip" drawable. am: aacd1ba6 am: cad42332 am: d6d29871"
parents aad73b62 b8e778f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1270,7 +1270,7 @@ the right edge, a right gravity clips the left edge, and neither clips both edge
progressively reveal the image:</p>
<pre>
ImageView imageview = (ImageView) findViewById(R.id.image);
ClipDrawable drawable = (ClipDrawable) imageview.getDrawable();
ClipDrawable drawable = (ClipDrawable) imageview.getBackground();
drawable.setLevel(drawable.getLevel() + 1000);
</pre>