Skip to content

Commit

Permalink
Amend the spinner popup color. Now it is done by using popupTheme a…
Browse files Browse the repository at this point in the history
…ttr of AppCompatSpinner
  • Loading branch information
tasomaniac committed Oct 30, 2016
1 parent 747a08a commit 138dac5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions app/src/main/res/layout/actionbar_spinner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@
~ limitations under the License.
-->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<Spinner
<android.support.v7.widget.AppCompatSpinner
style="@style/Widget.AppCompat.Light.Spinner.DropDown.ActionBar"
android:id="@+id/actionbar_spinner"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
android:layout_width="wrap_content"
android:layout_height="match_parent" />
android:layout_height="match_parent"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/>

</LinearLayout>

0 comments on commit 138dac5

Please sign in to comment.