۱۳۹۴/۱۱/۱۳, ۰۸:۴۸ ب.ظ
کد پیاچپی:
linear = new LinearLayout(this);
linear.setOrientation(LinearLayout.VERTICAL);
text = new TextView(this);
text.setText("This is an example for the Bright Hub!");
linear.addView(text);
setContentView(linear);