this is my code:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
TextView t = new TextView(this);
t.setText("Ori");
TextView t2 = new TextView(this);
t.setText("Ori2");
LinearLayout layout = (LinearLayout)
findViewById(R.id.mainLayout);
layout.addView(t);
layout.addView(t2);
}
However, all I see in screen is:
"Ori2"
Why doesn't the "Ori" text shows up?
thanks,
Ori
--
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
To unsubscribe from this group, send email to
android-developers+unsubscribegooglegroups.com or reply to this email with the
words "REMOVE ME" as the subject.