summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2012-06-20 19:54:43 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2012-06-20 19:54:43 +0200
commit27f34cac6e3064c50aa19ed41cbd9a41ebc0fa7e (patch)
treeb587bc3bee820ebca5fd1dcad611a67ed225795b /res
parent409fcee753d4cee83f67ff66d1ed85974825bc55 (diff)
downloadAntennaPod-27f34cac6e3064c50aa19ed41cbd9a41ebc0fa7e.zip
Added borderless button style
Diffstat (limited to 'res')
-rw-r--r--res/drawable/borderless_button.xml13
-rw-r--r--res/layout/feeditemlist_item.xml1
-rw-r--r--res/layout/mediaplayer_activity.xml3
3 files changed, 17 insertions, 0 deletions
diff --git a/res/drawable/borderless_button.xml b/res/drawable/borderless_button.xml
new file mode 100644
index 000000000..cfc630005
--- /dev/null
+++ b/res/drawable/borderless_button.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true"><shape android:shape="rectangle">
+ <solid android:color="#33B5E5" />
+ </shape></item>
+ <item android:state_focused="true"><shape android:shape="rectangle">
+ <solid android:color="#33B5E5" />
+ </shape></item>
+ <item><shape android:shape="rectangle">
+ <solid android:color="@android:color/transparent" />
+ </shape></item>
+
+</selector> \ No newline at end of file
diff --git a/res/layout/feeditemlist_item.xml b/res/layout/feeditemlist_item.xml
index 19bb4010b..2629265bc 100644
--- a/res/layout/feeditemlist_item.xml
+++ b/res/layout/feeditemlist_item.xml
@@ -18,6 +18,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="More"
+ android:background="@drawable/borderless_button"
android:layout_alignParentRight="true"
android:focusable="false"
/>
diff --git a/res/layout/mediaplayer_activity.xml b/res/layout/mediaplayer_activity.xml
index d6ee82733..28fadda1e 100644
--- a/res/layout/mediaplayer_activity.xml
+++ b/res/layout/mediaplayer_activity.xml
@@ -58,6 +58,7 @@
android:id="@+id/butRev"
android:layout_width="wrap_content"
android:layout_height="match_parent"
+ android:background="@drawable/borderless_button"
android:src="@android:drawable/ic_media_rew" />
<ImageButton
@@ -65,12 +66,14 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="8"
+ android:background="@drawable/borderless_button"
android:src="@android:drawable/ic_media_pause" />
<ImageButton
android:id="@+id/butFF"
android:layout_width="wrap_content"
android:layout_height="match_parent"
+ android:background="@drawable/borderless_button"
android:src="@android:drawable/ic_media_ff" />
</LinearLayout>