Ho visto molti esempi con una coppia di frecce su e giù su NumberPicker, DatePicker e TimePicker di applicazioni Android. Ma quando lo uso, l'applicazione non mostra frecce.Le frecce Android NumberPicker, DatePicker, TimePicker sono mancanti
Esistono trucchi per visualizzare le frecce?
L'SDK è API versione 17 e la revisione 2.
Grazie mille
UPDATE
Il codice è abbastanza semplice.
<DatePicker
android:id="@+id/datePicker123"
android:layout_width="280dp"
android:layout_height="wrap_content"
android:calendarViewShown="false" />
<TimePicker
android:id="@+id/timePicker123"
android:layout_width="280dp"
android:layout_height="wrap_content" />
<NumberPicker
android:id="@+id/numberPicker123"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
Attività onCreate
String[] options = new String[] { "A", "B", "C" }
NumberPicker numberPicker123 = (NumberPicker) findViewById(R.id.numberPicker123);
numberPicker123.setMinValue(0);
numberPicker123.setMaxValue(options.length - 1);
numberPicker123.setDisplayedValues(options);
Invia il tuo codice indipendentemente da quello che hai provato. – AndiM
Il codice è stato aggiunto alla domanda. – OmniBus
Vedere questo link..http: //stackoverflow.com/questions/523510/is-there-a-view-for-inputing-integers-in-android – AndiM