<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/add_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"
android:src="@drawable/ic_baseline_add_24"
app:backgroundTint="@color/custom_purple"
app:maxImageSize="50dp"
app:tint="@color/white"
/>
android:src (drawable)
app:backgroundTint (배경색상)
app:maxImageSize (내부 이미지 크기)
app:tint (drwable vector이미지 색상)
![](https://blog.kakaocdn.net/dn/tm5BJ/btrxLRJU9mF/L0rpL8bgxkBvMCU6GHsFQ1/img.png)
'프로그래밍 > Android, iOS' 카테고리의 다른 글
[Android] 취약점 분석 정리 (0) | 2022.03.29 |
---|---|
[Android Error] 사설 배포시 apk 파일 파싱 오류 (0) | 2022.03.29 |
[Android] WIFI 제어하기 (0) | 2021.12.06 |
[Android] Signing 처리 (0) | 2021.12.04 |
[Android] 외부저장소 권한 없이 이미지 파일 exIfInterface 가져오기 (0) | 2021.12.04 |
댓글