是否可以打鉤
togglebutton
?Make a tick togglebutton android
佈局低於
<ImageView
android:id="@+id/donePic"
android:src="@mipmap/done"
android:tint="@color/red"
android:paddingLeft="320dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
目前蜱button
是ImageView
。如何使ImageView
變成toggleButton
?可能嗎 ?
'做一個tick togglebutton' ...爲什麼不是'CheckBox',而不是?即:https://www.tutorialspoint.com/android/android_checkbox_control.htm –
@Rotwang感謝您的建議,將嘗試它。 – John
那麼,它只是現成的,所以沒有必要重新發明輪子..;) –