Longview teacher resigns after arrest for sexual indecency with a child