No Fear.
  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록
  • 메뉴 닫기
  • 글작성
  • 방명록
  • 환경설정
    • ALL (305)
      • While at Work (18)
      • AI (8)
      • Linux 일반 (28)
      • Language (34)
      • Spring & Spring Boot (5)
      • WEB & Mobile (34)
      • Software Engineering (21)
      • Cloud & Automotive (8)
      • Android (110)
      • Embedded (9)
      • Stock Study (30)
  • 홈
  • 태그
  • 방명록
반응형
Android

[Android]자바 프로그램으로 화면 구성

대응하는 자바 프로그램rl = new RelativeLayout(this);RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,ViewGroup.LayoutParams.WRAP_CONTENT);rl.setLayoutParams(params);rl.setBackgroundResource(R.drawable.blue);rl.setPadding(10, 10, 10, 10); 먼저 RelativeLayout 클래스의 생성자를 사용하여 RelativeLayout 인스턴스를 만든다. 그리고 별도의 RelativeLayout.LayoutParams 내부 클래스의 생성자를 이용하여 레..

2013. 2. 26. 23:32
  • «
  • 1
  • »
반응형

전체 카테고리

  • ALL (305)
    • While at Work (18)
    • AI (8)
    • Linux 일반 (28)
    • Language (34)
    • Spring & Spring Boot (5)
    • WEB & Mobile (34)
    • Software Engineering (21)
    • Cloud & Automotive (8)
    • Android (110)
    • Embedded (9)
    • Stock Study (30)

블로그 인기글

반응형
Powered by Privatenote Copyright © No Fear. All rights reserved. TistoryWhaleSkin3.4

티스토리툴바