Set Timeout Volley Android
// MY_SOCKET_TIMEOUT_MS is your custom timeout in milllisecond
myRequest.setRetryPolicy(new DefaultRetryPolicy(
MY_SOCKET_TIMEOUT_MS,
DefaultRetryPolicy.DEFAULT_MAX_RETRIES,
DefaultRetryPolicy.DEFAULT_BACKOFF_MULT));
Mohamed Boumlyk