Valentin,
I'm not a professional but why are you monkeying around with the
manifest when what you want to  do is easily done in the code?

public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                layout = new LinearLayout(this);
                layout.setOrientation(LinearLayout.VERTICAL);
                KeyView key= new KeyView(this);

                mainText = new TextView(this);
                layout.addView(mainText);

                layout.addView(key);

                setContentView(layout);

Hopes this helps

Chris

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