프로그래밍/Android, iOS
[Android] Floating button으로 추가 버튼 만들기
YuminK
2022. 3. 29. 09:40
<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이미지 색상)
