Those are both new with API 11 (Honeycomb). I would guess you are building with an earlier Android SDK version.

-- Kostya

29.03.2011 22:59, Tobiah пишет:
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



--
Kostya Vasilyev -- http://kmansoft.wordpress.com

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