Click “Attack” in lower right corner.
Before clicking on resource raid look right above it.
You should see “Set Attack Formation.”
Click on that and edit your formation on the first tab.
Before leaving make sure that “Activate saved formation” is checked.