Exemplo n.º 1
0
 /// <summary>Retrieve the CharSequence[] for the attribute at <var>index</var>.</summary>
 /// <remarks>
 /// Retrieve the CharSequence[] for the attribute at <var>index</var>.
 /// This gets the resource ID of the selected attribute, and uses
 /// <see cref="Resources.getTextArray(int)">Resources.getTextArray</see>
 /// of the owning
 /// Resources object to retrieve its String[].
 /// </remarks>
 /// <param name="index">Index of attribute to retrieve.</param>
 /// <returns>CharSequence[] for the attribute, or null if not defined.</returns>
 public virtual java.lang.CharSequence[] getTextArray(int index)
 {
     android.util.TypedValue value = mValue;
     if (getValueAt(index * android.content.res.AssetManager.STYLE_NUM_ENTRIES, value))
     {
         if (false)
         {
             java.io.Console.Out.println("******************************************************************"
                                         );
             java.io.Console.Out.println("Got drawable resource: type=" + value.type + " str="
                                         + value.@string + " int=0x" + Sharpen.Util.IntToHexString(value.data) + " cookie="
                                         + value.assetCookie);
             java.io.Console.Out.println("******************************************************************"
                                         );
         }
         return(mResources.getTextArray(value.resourceId));
     }
     return(null);
 }