Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- 쿼리
- 국제화
- C#크롤링
- Java
- NPM
- RequestMethod.POST
- SQL
- Callback
- 동적쿼리
- JSTL
- mybatis
- Spring
- JavaScript
- c:forEach
- MVC
- MySQL
- android
- vscode
- c:choose
- 콜백
- HTTP
- jQuery
- react
- 서드파티모듈
- jsx
- fullcalendar
- node.js
- iBATIS
- AndroidStudio
- egov
Archives
- Today
- Total
Today Yewon Learned
[Android Studio] JAVA코드에서 Typeface를 이용한 폰트 사이즈 변경 본문
1) res폴더 안에 font 폴더 생성
2. Typeface 선언
private TextView tv1;
Typeface typeface = getResources().getFont(R.font.lgsmartuilight);
tv1.setTypeface(typeface);
[참고]
https://developer.android.com/reference/android/graphics/Typeface
Typeface | Android Developers
developer.android.com
'Android Sudio' 카테고리의 다른 글
[Android Studio] Spinner 구현하기 (Dropdown) (0) | 2022.06.17 |
---|---|
[Android Studio] RecyclerView 구현하기 (0) | 2022.06.15 |
[Android Studio] The minCompileSdk (31) specified in a dependency's AAR metadata 오류 해결 (0) | 2022.06.15 |
[Android Studio] The RepositoryHandler.jcenter() method 오류 해결 (0) | 2022.06.15 |
[Android Studio] Emulator 실행 시 Intel HAXM 오류 해결 (0) | 2022.06.07 |
Comments