android:id="@+id/input_city_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="@string/city_select_hint"
android:gravity="center"
android:maxLength="5"
android:completionThreshold="1"
android:popupBackground="@color/stroke_green"
android:background="@drawable/edittext_shape"/>
里面的android:popupBackground就是设置下拉框的背景色。