Hi Everyone,

Eclipse doesn't seem to like the constant VERTICAL in the
LinearLayout. Can you tell me what the problem might be.

Here is a snippet of the code I have. I am using the latest Android
SDK.

Thanks,
Vikram


import android.widget.LinearLayout;

public class HelloViews extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        LinearLayout ll = new LinearLayout(this);
        ll.setOrientation(VERTICAL);
        //setContentView(R.layout.main);
    }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to