Fix wrong color in wizard's spinner
This commit is contained in:
parent
dc9836ec40
commit
889cb2938f
@ -5,23 +5,19 @@ import android.view.View;
|
|||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.widget.ArrayAdapter;
|
import android.widget.ArrayAdapter;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import org.solovyev.android.calculator.R;
|
import org.solovyev.android.calculator.R;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
import javax.annotation.Nonnull;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
final class WizardArrayAdapter<T> extends ArrayAdapter<T> {
|
final class WizardArrayAdapter<T> extends ArrayAdapter<T> {
|
||||||
|
|
||||||
public WizardArrayAdapter(@Nonnull Context context, @Nonnull T[] items) {
|
public WizardArrayAdapter(@Nonnull Context context, @Nonnull T[] items) {
|
||||||
super(context, R.layout.support_simple_spinner_dropdown_item, items);
|
super(context, R.layout.support_simple_spinner_dropdown_item, items);
|
||||||
setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public WizardArrayAdapter(@Nonnull Context context, @Nonnull List<T> items) {
|
public WizardArrayAdapter(@Nonnull Context context, @Nonnull List<T> items) {
|
||||||
super(context, R.layout.support_simple_spinner_dropdown_item, items);
|
super(context, R.layout.support_simple_spinner_dropdown_item, items);
|
||||||
setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nonnull
|
@Nonnull
|
||||||
|
Loading…
Reference in New Issue
Block a user