소스코드 상에서 이미지뷰의 maxWidth를 동적으로 할당할 때에는 반드시
android:adjustViewBounds=""
속성을 입력해주어야 적용됩니다.
-좋은 자료-
(2) 안드로이드(Android) 의 ImageView 레이아웃 옵션과 사용예제들 - 1
(2) 안드로이드(Android) 의 ImageView 레이아웃 옵션과 사용예제들 - 1 위에서 간략하게 소개한 예를 바탕으로 옵션설정에 따라 어떻게 표현 가능한지 알아본다. XML attribute 는 다음과 같은 종류가 있
mainia.tistory.com
'안드로이드' 카테고리의 다른 글
[Android] 저장소 쓰기권한은 암시적으로 읽기를 포함합니다! (0) | 2022.01.31 |
---|---|
[Android] Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath' 에러 기록 (0) | 2022.01.16 |
[Android] RecyclerView 스크롤시 아이템 뒤섞이는 현상 (0) | 2021.09.05 |
[Android] EditText UnderLine 제거하기 (0) | 2021.06.16 |
[Android] EditText 공백 및 한글 막기 (0) | 2021.06.13 |