Trying this code:

  ImageView green = new ImageView(this);
  green.setImageResource(R.drawable.green);
  green.setBaselineAlignBottom(true);

Compiler borks:

[javac] Compiling 2 source files to /home/toby/android/exposmart /bin/classes [javac] /home/toby/android/exposmart/src/com/rcsreg/exposmart/Shows.java:129: cannot find symbol
    [javac] symbol  : method setBaselineAlignBottom(boolean)
    [javac] location: class android.widget.ImageView
    [javac]             green.setBaselineAlignBottom(true);
    [javac]                  ^

I also get the same trying to call:

green.setBaseline(int);

I'm checking these out because I have some alignment problems
with image 'dots' that I'm putting into a TableLayout.  They
are showing up higher than text in other cells.  I want to move
them down a little.

Thanks,

Toby

--
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