۱۳۹۴/۰۷/۱۶, ۰۹:۳۷ ق.ظ
ببینید این کد بدر شما میخوره ؟
کد پیاچپی:
TextView textView = new TextView(this);
textView.setText("the text");
LayoutParams textViewLayoutParams = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
textView.setLayoutParams(textViewLayoutParams);
mainLayout.addView(textView);
بزودی