Android Show language setting

사용 언어: Kotlin 1.6.10
사용 버전: Android Studio 2021.1.1 Patch 2

안드로이드 Show language setting을 알아보겠습니다.


사용자에게 언어 설정 창을 보여주는 방법을 알아보겠습니다.

MainActivity로 갑니다.
언어 용 Intent를 하나 만듭니다.
val languageIntent = Intent(Settings.ACTION_LOCALE_SETTINGS)

그리고 이 Intent를 실행합니다.
startActivity(languageIntent)





실행해 봅시다.

이렇게 언어 선택 창이 나옵니다.





끝.


카테고리: Android

댓글

이 블로그의 인기 게시물

Python urllib.parse.quote()

KiCad 시작하기 4 (기존 회로도 수정 및 추가)

Android Compose Coil library

KiCad 시작하기 1 (회로도 만들기)

Android Notification with Full Screen

iOS Swift callAsFunction

Android Custom IME(Input method editor) 만들기

iOS Error Undefined symbol Testing.Trait

Android Compose automation for getting localized images to use on Play Store app image

tensorflow tf.expand_dims()