Centering the CheckBox


I was having trouble vertically centering the solved CheckBox using the properties defined in list_item_crime.xml. Specifically –

was doing nothing. I had to replace it with

for it to work properly.


Yep! Why does the second one work? Recall what the difference is between layout parameters and regular attributes.