示例#1
0
文件: Main.java 项目: MIPS/sdk
  /** Displays the skins valid for the given target. */
  private void displaySkinList(IAndroidTarget target, String message) {
    String[] skins = target.getSkins();
    String defaultSkin = target.getDefaultSkin();
    mSdkLog.printf(message);
    if (skins != null) {
      boolean first = true;
      for (String skin : skins) {
        if (first == false) {
          mSdkLog.printf(", ");
        } else {
          first = false;
        }
        mSdkLog.printf(skin);

        if (skin.equals(defaultSkin)) {
          mSdkLog.printf(" (default)");
        }
      }
      mSdkLog.printf("\n");
    } else {
      mSdkLog.printf("no skins.\n");
    }
  }
 @Override
 public String getDefaultSkin() {
   return myWrapee.getDefaultSkin();
 }