TextView 2개를 같은 라인에 쓰기 위해 아래 코드를 참고해보시기 바랍니다.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="f...
아래와 같이 적용해보시기 바랍니다.
제가 해보니 잘 되는 것 같습니다.
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
&l...
안드로이드 SDK 버전에 따라 이미지를 가져오는 방식이 다를 수 있습니다.
예를 들면 Bitmap 이미지의 경우 아래와 같이 구분이 필요합니다.
fun Uri.getCapturedImage(context: Context): Bitmap? {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODE...