xml에서 말고 자바코드에서 LinearLayout안에 TextView 넣기
어떻게하면되요? 예를들어 xml에서 말고 자바코드로 "hello"텍스트를 5줄 출력
초보라;; 어떻게하는지 소스점 갈켜주세요ㅜ
TextView textView = new TextView(this);
textView.setText("textView");
new LinearLayout(this).addView(textView);
로그인 유지
TextView textView = new TextView(this);
textView.setText("textView");
new LinearLayout(this).addView(textView);