creates charges layout view