我有 ArrayAdapter 有微调项目的字符串
如何务实地更改代码
注意:我知道我应该覆盖并实现 View .. 等,但我需要更多细节:
Typeface font = Typeface.createFromAsset(getAssets(), "extrafine.ttf");
String array_spinner[];
array_spinner=new String[3];
array_spinner[0]="general";
array_spinner[1]="quisiton";
array_spinner[2]="suggsution";
final Spinner spinner = (Spinner) findViewById( R.id.spinner1 );
ArrayAdapter<String> spinnerArrayAdapter = new ArrayAdapter<String>(
this, android.R.layout.simple_spinner_item, array_spinner);
spinnerArrayAdapter.setDropDownViewResource( android.R.layout.simple_spinner_dropdown_item );
spinner.setAdapter(spinnerArrayAdapter);