Hello,

I am using lot's of different controls and they all work fine, but now
I am trying to issue View.setTextSize and it can't find it =( The
Android docs say that this method exists and I want to access it from
the lowest possible class, not from a top level class. Any ideas why
it gives this error?

import android.app.Activity;
import android.app.AlertDialog;
import android.os.*;
import android.util.*;
import android.content.*;
import android.view.*;
import android.widget.*;
import java.util.*;
// .........
      View param_self_View = (View) ViewElements.get(lInt);
      // params
      float lFloat = MyAndroidPipesComm.GetFloat();
      int lInt = MyAndroidPipesComm.GetInt();

      param_self_View.setTextSize(lInt, lFloat);

...

Error message:

    [javac] Compiling 2 source files to /home/felipe/Programas/p-tools/
turbochessclock4android/android/bin/classes
    [javac] /home/felipe/Programas/p-tools/turbochessclock4android/
android/src/com/pascal/turbochessclock/AndroidView.java:142: cannot
find symbol
    [javac] symbol  : method setTextSize(int,float)
    [javac] location: class android.view.View
    [javac]       param_self_View.setTextSize(lInt, lFloat);
    [javac]                      ^

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to