private void SetEnabled(LinearLayout layout, bool enabled)
 {
     foreach (var child in layout.GetAllChildren().OfType <CheckBox>())
     {
         child.Enabled = enabled;
     }
 }