mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-22 05:38:55 +00:00
expand toucharea for checklist items
This commit is contained in:
parent
c0cc03b5fd
commit
b7b659a19e
2 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
android:layout_height="fill_parent"
|
||||
android:minHeight="@dimen/checklist_item_min_height">
|
||||
<RelativeLayout
|
||||
android:id="@+id/checkBoxHolder"
|
||||
android:layout_width="@dimen/button_width"
|
||||
android:layout_height="match_parent">
|
||||
<CheckBox
|
||||
|
|
|
|||
|
|
@ -413,6 +413,8 @@ public class HabitItemRecyclerViewAdapter<THabitItem extends Task>
|
|||
textView.setText(item.getText());
|
||||
checkbox.setChecked(item.getCompleted());
|
||||
checkbox.setOnCheckedChangeListener(this);
|
||||
RelativeLayout checkboxHolder = (RelativeLayout) itemView.findViewById(R.id.checkBoxHolder);
|
||||
expandCheckboxTouchArea(checkboxHolder, checkbox);
|
||||
this.checklistView.addView(itemView);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue