반응형

이 게시물은 다음 링크를 참조하여 학습했습니다.

 

Fonts in XML  |  Android 개발자  |  Android Developers

Android 8.0 (API level 26) introduces a new feature, Fonts in XML, which lets you use fonts as resources. You can add the font file in the res/font/ folder to bundle fonts as resources. These fonts are compiled in your R file and are automatically availabl

developer.android.com

 

글꼴 리소스  |  Android 개발자  |  Android Developers

글꼴 리소스는 앱에서 사용할 수 있는 맞춤 글꼴을 정의합니다. 글꼴은 개별 글꼴 파일 또는 글꼴 모음이라고 하는 글꼴 파일 모임일 수 있으며 XML로 정의됩니다. 또한, XML로 글꼴을 정의하는 방

developer.android.com

 

[Android] 안드로이드 - 커스텀 폰트(Custom Font) 적용하기

이번 포스팅에서는 안드로이드 스튜디오에서 제공하는 기본 폰트말고 커스텀 폰트(Custom Font)를 적용하는 방법에 대해 알아보겠습니다. 1. 폰트 다운로드 https://noonnu.cc/ 상업적 이용 가능한 무료

lktprogrammer.tistory.com

 

1. font/

 font/를 이용하면 텍스트의 글꼴을 바꿀 수 있다.

 <font-family></font-family> 안의 <font></font>에서 속성을 지정할 수 있는데, developer android에서 소개하는 속성은 3가지 정도이다.

 1) android:font : 사용할 폰트의 저장 경로.

 2) android:fontStyle : 글꼴 스타일. ( "normal" / "italic" )

 3) android:fontWeight : 글꼴의 두께. ( 치수 값 )

2. 폰트 다운로드

 아래의 링크를 이용하면 무료로 상업적 이용 가능 폰트를 다운받을 수 있다.

 

상업적 이용 가능한 무료 한글 폰트 모음 사이트 눈누

상업적으로 이용할 수 있는 무료 한글 폰트를 모아 놓은 사이트 눈누

noonnu.cc

 

반응형

+ Recent posts