Skip to content

Commit 98a70c2

Browse files
PaulPaul
Paul
authored and
Paul
committed
Attempt to document svg custom attribute in SVGImageView. But it isn't working. Need to find out why.
1 parent 7568b00 commit 98a70c2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

res/values/attrs.xml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<resources>
33

44
<declare-styleable name="SVGImageView">
5+
<!-- Location of the SVG document. -->
56
<attr name="svg" format="reference|string"/>
67
</declare-styleable>
78

src/com/caverock/androidsvg/SVGImageView.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* In its present form it has one significant limitation. It uses the {@link SVG#renderToPicture()}
3939
* method. That means that SVG documents that use {@code <mask>} elements will not display correctly.
4040
*
41-
* @attr name ImageView_svg
41+
* @attr ref R.styleable#SVGImageView_svg
4242
*/
4343
public class SVGImageView extends ImageView
4444
{

0 commit comments

Comments
 (0)