- Abdukarim
- Sardor
- Adburashid
- Abdusattor
- Samandar
- Abdulaziz
- Ravshan
- Rashid
- Ulugbek
- Sarvar
- Fazliddin
BasicViews6Activity.java
4. BasicViews6Activity.java fayli quyidagicha o‘zgartiriladi:
// Add import sections by yourself public class BasicViews6Activity extends Activity {
String[] presidents; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main);
names=getResources().getStringArray(R.array. names_array);
Spinner s1 = (Spinner) findViewById(R.id.spinner1);
ArrayAdapter adapter = new ArrayAdapter(this, android.R.layout.simple_spinner_item, names);
Do'stlaringiz bilan baham: |