Centering the CheckBox


#1

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.


#2

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