android:orientation="vertical" 줄바꿈


# LinearLayout은 한가지 방향으로만 출력할 수 있다. 방향을 바꾸고 싶다면, 중첩하여 사용하면 된다.


android:text="Color Test" 텍스트 내용
android:textSize="30sp" 텍스트 크기

# dp, in, mm, pt, px, sp의 단위가 있다.


android:textColor="#5c355c" 텍스트 색상

# html 색상 코드를 사용한다.


android:textStyle="bold|italic"/> 텍스트 스타일


  • bold (굵게)
  • italic (기울이기)
  • normal (기본)



+ Recent posts