Just to expand Will Jagy's comment.
Consider $x^T= \begin{bmatrix} 0&\cdots &0& u&0&\cdots &0&v&0&\cdots&0\end{bmatrix}$, with $x_i^T = u$ and $x_j^T = v$. Following your thoughts, we can easily derive that: $$x^T A x = A_{ii}u^2 + 2A_{ij}uv + A_{jj}v^2 >0, \quad \forall u,v \in \mathbb R:u^2+v^2 \neq 0.$$
Now, let's fix a $v\neq 0$ and consider the function:
$$f(u) = A_{ii}\cdot u^2 +2A_{ij}v\cdot u +A_{jj}v^2.$$
In order the function to have the same sign with the sign of $A_{ii}(> 0)$ for each $u\in \mathbb R$, the discriminant must be strictly negative, i.e.
$$(2A_{ij}v)^2 - 4A_{ii}A_{jj}v^2 <0.$$ I guess you can take it from here.
The second inequality can be proven using the AM-GM inequality.
Even simpler, we want to prove
$$\sqrt{A_{ii}A_{jj}} \le \frac{A_{ii} + A_{jj}}{2}\iff A_{ii} - 2\sqrt{A_{ii}A_{jj}} +A_{jj} \ge 0 \iff \left(\sqrt{A_{ii}} - \sqrt{A_{jj}}\right)^2\ge 0.$$
The last inequality apparently holds.