First of all, thank you for your answers! I\'m new for Android and this is my problem;
I want to take values of string array to listview.
Program works fin
remove android:entries from your .xml file & define the string array into
android:entries
String[] number = getResources().getStringArray(R.id.numbers); ArrayAdapter adapter = new ArrayAdapter<>(this, android.R.layout.simple_list_item_1, number);