It's simply a non-sensical equation. On the one side you write down a matrix, depicting matrix elements of an operator and on the other the operator itself. Correct is
$$\hat{A}=v_3 |0 \rangle \langle 0| + (v_1-\mathrm{i} v_2) |0 \rangle \langle 1| + (v_1+\mathrm{i} v_2) |1 \rangle \langle 0| - v_3 |1 \rangle \langle 1|.$$
The matrix elements in your matrix are then taken with respect to the basis ##(|0 \rangle,|1 \rangle)##.
$$(A_{jk})=\langle j|\hat{A}|k \rangle, \quad j,k \in \{0,1 \}.$$
To see this, simply use ##\langle j|k \rangle=\delta_{jk}##. Then you get, e.g.,
$$A_{01}=\langle 0|\hat{A}|1 \rangle=v_1-\mathrm{i} v_2.$$