Exemple #1
0
 /**
  * Returns the checkbox's text's font size, measured in pixels.
  *
  * @return font size in pixel
  */
 public float FontSize() {
   if (resourceId != -1) {
     return TextViewUtil.getFontSize(
         (android.widget.CheckBox) container.$context().findViewById(resourceId));
   } else {
     return TextViewUtil.getFontSize(view);
   }
 }
Exemple #2
0
 /**
  * Returns the textbox's text's font size, measured in pixels.
  *
  * @return font size in pixel
  */
 public float FontSize() {
   return TextViewUtil.getFontSize(view);
 }