summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-01-20 23:22:11 +0100
committerdaniel oeh <daniel.oeh@gmail.com>2013-01-20 23:22:11 +0100
commit287583d5c72bd9e2f77b8334280207305fbb5d41 (patch)
tree9955e1b03526a51e8765508b92eb1b29b2d3cd98 /res
parent21f8db09e0e9fffae50cdeae05866dbb367263f1 (diff)
downloadAntennaPod-287583d5c72bd9e2f77b8334280207305fbb5d41.zip
Use spinner icon instead of arrow for feeditemlist buttons
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/spinner_button.9.pngbin0 -> 318 bytes
-rw-r--r--res/drawable-hdpi/spinner_button_dark.9.pngbin0 -> 316 bytes
-rw-r--r--res/drawable-mdpi/spinner_button.9.pngbin0 -> 266 bytes
-rw-r--r--res/drawable-mdpi/spinner_button_dark.9.pngbin0 -> 266 bytes
-rw-r--r--res/drawable-xhdpi/spinner_button.9.pngbin0 -> 405 bytes
-rw-r--r--res/drawable-xhdpi/spinner_button_dark.9.pngbin0 -> 406 bytes
-rw-r--r--res/layout/feeditemlist_item.xml14
-rw-r--r--res/values/attrs.xml1
-rw-r--r--res/values/styles.xml2
9 files changed, 11 insertions, 6 deletions
diff --git a/res/drawable-hdpi/spinner_button.9.png b/res/drawable-hdpi/spinner_button.9.png
new file mode 100644
index 000000000..fa68a137f
--- /dev/null
+++ b/res/drawable-hdpi/spinner_button.9.png
Binary files differ
diff --git a/res/drawable-hdpi/spinner_button_dark.9.png b/res/drawable-hdpi/spinner_button_dark.9.png
new file mode 100644
index 000000000..88f8765cd
--- /dev/null
+++ b/res/drawable-hdpi/spinner_button_dark.9.png
Binary files differ
diff --git a/res/drawable-mdpi/spinner_button.9.png b/res/drawable-mdpi/spinner_button.9.png
new file mode 100644
index 000000000..716560bb1
--- /dev/null
+++ b/res/drawable-mdpi/spinner_button.9.png
Binary files differ
diff --git a/res/drawable-mdpi/spinner_button_dark.9.png b/res/drawable-mdpi/spinner_button_dark.9.png
new file mode 100644
index 000000000..8d7594685
--- /dev/null
+++ b/res/drawable-mdpi/spinner_button_dark.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/spinner_button.9.png b/res/drawable-xhdpi/spinner_button.9.png
new file mode 100644
index 000000000..3dc481e54
--- /dev/null
+++ b/res/drawable-xhdpi/spinner_button.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/spinner_button_dark.9.png b/res/drawable-xhdpi/spinner_button_dark.9.png
new file mode 100644
index 000000000..c43293d5c
--- /dev/null
+++ b/res/drawable-xhdpi/spinner_button_dark.9.png
Binary files differ
diff --git a/res/layout/feeditemlist_item.xml b/res/layout/feeditemlist_item.xml
index 8058aafeb..bb6a38ee2 100644
--- a/res/layout/feeditemlist_item.xml
+++ b/res/layout/feeditemlist_item.xml
@@ -87,17 +87,19 @@
<ImageButton
android:id="@id/butAction"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
+ android:layout_width="48dp"
+ android:layout_height="48dp"
android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
+ android:layout_alignParentBottom="true"
android:background="?attr/borderless_button"
android:clickable="false"
android:focusable="false"
android:focusableInTouchMode="false"
- android:padding="8dp"
- android:scaleType="center"
- android:src="?attr/navigation_expand" />
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
+ android:paddingTop="16dp"
+ android:scaleType="centerCrop"
+ android:src="?attr/spinner_button" />
</RelativeLayout>
</LinearLayout> \ No newline at end of file
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 883db802a..c565a6897 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -25,6 +25,7 @@
<attr name="type_audio" format="reference" />
<attr name="type_video" format="reference" />
<attr name="borderless_button" format="reference" />
+ <attr name="spinner_button" format="reference" />
<!-- Used in itemdescription -->
<attr name="non_transparent_background" format="reference" />
<attr name="video_overlay_background" format="color" />
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 38b37692d..4ada53ef8 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -29,6 +29,7 @@
<item name="attr/non_transparent_background">@color/white</item>
<item name="attr/borderless_button">@drawable/borderless_button</item>
<item name="attr/video_overlay_background">@color/video_overlay_light</item>
+ <item name="attr/spinner_button">@drawable/spinner_button</item>
</style>
<style name="AntennaPod.LightTabPageIndicator" parent="Widget.TabPageIndicator">
@@ -63,6 +64,7 @@
<item name="attr/non_transparent_background">@color/black</item>
<item name="attr/borderless_button">@drawable/borderless_button_dark</item>
<item name="attr/video_overlay_background">@color/video_overlay_dark</item>
+ <item name="attr/spinner_button">@drawable/spinner_button_dark</item>
</style>
<style name="AntennaPod.DarkTabPageIndicator" parent="Widget.TabPageIndicator">