I have the array in Arrays.xml
<string-array name="text_language">
    <item> English</item>
    <item> Russian</item>
</string-array>
How can I check, array contain the string (for example from EditText)?
Maybe,
 if(getResources().getStringArray(R.array.text_language).contains(" "));
does not work.
 
     
    