new background for spinner (drop box)

This commit is contained in:
Peter Siegmund
2015-07-22 13:09:00 +02:00
parent 1eb0a3fda4
commit 3d57e88a4c
26 changed files with 27 additions and 3 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 524 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 641 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 661 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 649 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 B

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- pressed -->
<item android:drawable="@drawable/spinner_dark_pressed" android:state_pressed="true" />
<!-- default -->
<item android:drawable="@drawable/spinner_dark" />
</selector>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- pressed -->
<item android:drawable="@drawable/spinner_light_pressed" android:state_pressed="true" />
<!-- default -->
<item android:drawable="@drawable/spinner_light" />
</selector>
@@ -205,6 +205,7 @@
android:id="@+id/time_offset"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginBottom="@dimen/default_margin"
android:layout_marginTop="@dimen/default_margin"
android:scaleX="@integer/picker_scale"
@@ -228,7 +229,7 @@
android:id="@+id/dependent_leaderboard"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?sap_gray_black_20"
android:background="?spinner_background"
android:dropDownWidth="wrap_content"
android:spinnerMode="dropdown"/>
@@ -237,7 +238,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/default_margin_half"
android:background="?sap_gray_black_20"
android:background="?spinner_background"
android:dropDownWidth="wrap_content"
android:spinnerMode="dropdown"
android:visibility="gone"
@@ -248,7 +249,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/default_margin_half"
android:background="?sap_gray_black_20"
android:background="?spinner_background"
android:dropDownWidth="wrap_content"
android:spinnerMode="dropdown"/>
</LinearLayout>
@@ -62,6 +62,7 @@
<attr name="photo_camera_48dp" format="reference"/>
<attr name="play_arrow_36dp" format="reference"/>
<attr name="search_24dp_invert" format="reference"/>
<attr name="spinner_background" format="reference"/>
<attr name="swipe_idle" format="reference"/>
<attr name="swipe_left" format="reference"/>
<attr name="swipe_right" format="reference"/>
@@ -77,6 +77,7 @@
<item name="photo_camera_48dp">@drawable/ic_photo_camera_white_48dp</item>
<item name="play_arrow_36dp">@drawable/ic_play_arrow_white_36dp</item>
<item name="search_24dp_invert">@drawable/ic_search_black_24dp</item>
<item name="spinner_background">@drawable/spinner_background_dark</item>
<item name="swipe_idle">@drawable/swipe_idle_dark</item>
<item name="swipe_left">@drawable/swipe_left_dark</item>
<item name="swipe_right">@drawable/swipe_right_dark</item>
@@ -80,6 +80,7 @@
<item name="photo_camera_48dp">@drawable/ic_photo_camera_black_48dp</item>
<item name="play_arrow_36dp">@drawable/ic_play_arrow_black_36dp</item>
<item name="search_24dp_invert">@drawable/ic_search_white_24dp</item>
<item name="spinner_background">@drawable/spinner_background_light</item>
<item name="swipe_idle">@drawable/swipe_idle_light</item>
<item name="swipe_left">@drawable/swipe_left_light</item>
<item name="swipe_right">@drawable/swipe_right_light</item>