Problem is the order, you should write like this:
android:1="xx" android:2="xx" android:3="xx" android:4="xx" tools:replace="1, 2, 3, 4"