Bad XML file in Class Callout documentation

393
1
02-28-2012 02:16 PM
StephenQuan
Occasional Contributor
In the API help for Class Callout http://help.arcgis.com/en/arcgismobile/10.0/apis/android/api/com/esri/android/map/Callout.html there is a bad XML file given:

<?xml version="1.0" encoding="utf-8"?>
 <resources>
 <calloutViewStyle
   titleTextColor="#000000" // some RGB color or a reference to a color
   titleTextSize = 10; // size of the title text in scaled pixels (based on screen density and user font size preference)
   titleTextStyle = 0; // See the class Typeface in the Android SDK for available values
   titleTextTypeFace = 0; // See the class Typeface in the Android SDK for available values
   backgroundColor="#ffffff" // some RGB color or a reference to a color
   backgroundAlpha="255" // 0(transparent) to 255(opaque)
   frameColor="#000000" // some RGB color or a reference to a color
   flat="true" // draws a 3D frame 
   style.getCornerCurve()="0"   // the radius of the window's corners' curvature (max=40)
   anchor="5" /> // the position of the anchor (0-8, see ANCHOR_POSITION_XXX constants)
 </resources>


i.e. the code example isn't really a well formed XML file but is corrupted with Java comments, Java assignments, Java semicolons, and Java style function calls.
0 Kudos
1 Reply
DanO_Neill
Occasional Contributor III
Good catch!  Thanks for pointing this out.  We have marked this as a bug and will have it addressed in our upcoming release.
0 Kudos