我有一个在列表视图中的复选框。点击复选框非常困难。 可点击区域非常小,我已经检查了这个在stackoverflow中的几个答案,但没有工作。请任何人都可以帮助如何增加android中复选框的可点击区域。Android复选框可点击区域不增加
我复选框 -
<CheckBox android:id="@+id/CheckBox"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_weight="0.05"
android:button="@drawable/white_checkbox"
android:visibility="visible" />
我的复选框 - <复选框 机器人的代码:ID = “@ + ID /复选框” 机器人:layout_width = “0dip” 机器人:layout_height = “WRAP_CONTENT” 机器人:layout_gravity = “center_vertical | CENTER_HORIZONTAL” android:layout_weight =“0.05” android:button =“@ drawable/white_checkbox” android:visibility =“visible”/> – Dipanshu
请编辑您的问题以提供额外的代码或XML。请不要在评论中发布。 –
抱歉,实际上我无法在问题中添加它,它给出错误 – Dipanshu