aboutsummaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-07-09 22:17:06 -0700
committerScott Jackson <daneren2005@gmail.com>2014-07-09 22:17:06 -0700
commit75e86f85947bbe0ebb7f48e3e0fb6a430e547ca7 (patch)
tree099b3d661577be7aa62558f7ccd301a7dd5be49c /res/layout
parent109c35a36ed0d382664f7a57c83914137f701caf (diff)
downloaddsub-75e86f85947bbe0ebb7f48e3e0fb6a430e547ca7.tar.gz
dsub-75e86f85947bbe0ebb7f48e3e0fb6a430e547ca7.tar.bz2
dsub-75e86f85947bbe0ebb7f48e3e0fb6a430e547ca7.zip
#376 Use the system selectable background for buttons
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/abstract_fragment_activity.xml2
-rw-r--r--res/layout/album_cell_item.xml2
-rw-r--r--res/layout/album_list_item.xml2
-rw-r--r--res/layout/appwidget4x1.xml8
-rw-r--r--res/layout/appwidget4x2.xml8
-rw-r--r--res/layout/appwidget4x3.xml8
-rw-r--r--res/layout/appwidget4x4.xml8
-rw-r--r--res/layout/basic_list_item.xml2
-rw-r--r--res/layout/complex_list_item.xml2
-rw-r--r--res/layout/notification.xml6
-rw-r--r--res/layout/notification_expanded.xml8
-rw-r--r--res/layout/select_album_header.xml2
-rw-r--r--res/layout/song_list_item.xml2
-rw-r--r--res/layout/user_list_item.xml2
14 files changed, 31 insertions, 31 deletions
diff --git a/res/layout/abstract_fragment_activity.xml b/res/layout/abstract_fragment_activity.xml
index 605b988a..5f3a592b 100644
--- a/res/layout/abstract_fragment_activity.xml
+++ b/res/layout/abstract_fragment_activity.xml
@@ -15,7 +15,7 @@
android:id="@+id/bottom_bar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:background="@drawable/media_button"
+ android:background="?android:selectableItemBackground"
android:orientation="horizontal">
<ImageView
diff --git a/res/layout/album_cell_item.xml b/res/layout/album_cell_item.xml
index 46024772..13fe9466 100644
--- a/res/layout/album_cell_item.xml
+++ b/res/layout/album_cell_item.xml
@@ -68,7 +68,7 @@
android:layout_height="wrap_content"
android:layout_gravity="right|center_vertical"
android:paddingRight="2dp"
- android:background="@drawable/menubar_button"/>
+ android:background="?android:selectableItemBackground"/>
</LinearLayout>
</LinearLayout> \ No newline at end of file
diff --git a/res/layout/album_list_item.xml b/res/layout/album_list_item.xml
index a98f0e04..805c9033 100644
--- a/res/layout/album_list_item.xml
+++ b/res/layout/album_list_item.xml
@@ -54,5 +54,5 @@
android:layout_height="fill_parent"
android:layout_gravity="right|center_vertical"
android:paddingRight="10dip"
- android:background="@drawable/menubar_button"/>
+ android:background="?android:selectableItemBackground"/>
</LinearLayout>
diff --git a/res/layout/appwidget4x1.xml b/res/layout/appwidget4x1.xml
index 45ab7886..5d75c9e9 100644
--- a/res/layout/appwidget4x1.xml
+++ b/res/layout/appwidget4x1.xml
@@ -30,7 +30,7 @@
android:clickable="true"
android:focusable="true"
android:orientation="vertical"
- android:background="@drawable/media_button">
+ android:background="?android:selectableItemBackground">
<TextView
android:id="@+id/title"
@@ -81,7 +81,7 @@
android:layout_height="fill_parent"
android:layout_weight="1"
android:scaleType="center"
- android:background="@drawable/media_button"
+ android:background="?android:selectableItemBackground"
android:src="@drawable/ic_appwidget_music_previous" />
<ImageButton
@@ -91,7 +91,7 @@
android:layout_weight="1"
android:scaleType="center"
android:src="@drawable/ic_appwidget_music_play"
- android:background="@drawable/media_button" />
+ android:background="?android:selectableItemBackground" />
<ImageButton
android:id="@+id/control_next"
@@ -100,7 +100,7 @@
android:layout_weight="1"
android:scaleType="center"
android:src="@drawable/ic_appwidget_music_next"
- android:background="@drawable/media_button" />
+ android:background="?android:selectableItemBackground" />
</LinearLayout>
</LinearLayout>
diff --git a/res/layout/appwidget4x2.xml b/res/layout/appwidget4x2.xml
index 0101f76a..8ec61a59 100644
--- a/res/layout/appwidget4x2.xml
+++ b/res/layout/appwidget4x2.xml
@@ -32,7 +32,7 @@
android:orientation="vertical"
android:paddingTop="4dip"
android:paddingBottom="4dip"
- android:background="@drawable/media_button">
+ android:background="?android:selectableItemBackground">
<TextView
android:id="@+id/title"
@@ -104,7 +104,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:scaleType="center"
- android:background="@drawable/media_button"
+ android:background="?android:selectableItemBackground"
android:src="@drawable/ic_appwidget_music_previous" />
<ImageButton
@@ -114,7 +114,7 @@
android:layout_weight="1"
android:scaleType="center"
android:src="@drawable/ic_appwidget_music_play"
- android:background="@drawable/media_button" />
+ android:background="?android:selectableItemBackground" />
<ImageButton
android:id="@+id/control_next"
@@ -123,7 +123,7 @@
android:layout_weight="1"
android:scaleType="center"
android:src="@drawable/ic_appwidget_music_next"
- android:background="@drawable/media_button" />
+ android:background="?android:selectableItemBackground" />
</LinearLayout>
</LinearLayout>
diff --git a/res/layout/appwidget4x3.xml b/res/layout/appwidget4x3.xml
index 70ab3648..1758602b 100644
--- a/res/layout/appwidget4x3.xml
+++ b/res/layout/appwidget4x3.xml
@@ -34,7 +34,7 @@
android:orientation="vertical"
android:paddingBottom="4dip"
android:paddingTop="4dip"
- android:background="@drawable/media_button">
+ android:background="?android:selectableItemBackground">
<TextView
android:id="@+id/title"
@@ -86,7 +86,7 @@
android:layout_height="56dip"
android:layout_weight="1"
android:scaleType="center"
- android:background="@drawable/media_button"
+ android:background="?android:selectableItemBackground"
android:src="@drawable/ic_appwidget_music_previous" />
<ImageButton
@@ -96,7 +96,7 @@
android:layout_weight="1"
android:scaleType="center"
android:src="@drawable/ic_appwidget_music_play"
- android:background="@drawable/media_button" />
+ android:background="?android:selectableItemBackground" />
<ImageButton
android:id="@+id/control_next"
@@ -105,7 +105,7 @@
android:layout_weight="1"
android:scaleType="center"
android:src="@drawable/ic_appwidget_music_next"
- android:background="@drawable/media_button" />
+ android:background="?android:selectableItemBackground" />
</LinearLayout>
</LinearLayout>
diff --git a/res/layout/appwidget4x4.xml b/res/layout/appwidget4x4.xml
index 302bf297..b15a7339 100644
--- a/res/layout/appwidget4x4.xml
+++ b/res/layout/appwidget4x4.xml
@@ -35,7 +35,7 @@
android:orientation="vertical"
android:paddingTop="4dip"
android:paddingBottom="4dip"
- android:background="@drawable/media_button">
+ android:background="?android:selectableItemBackground">
<TextView
android:id="@+id/title"
@@ -88,7 +88,7 @@
android:layout_height="56dip"
android:layout_weight="1"
android:scaleType="center"
- android:background="@drawable/media_button"
+ android:background="?android:selectableItemBackground"
android:src="@drawable/ic_appwidget_music_previous" />
<ImageButton
@@ -98,7 +98,7 @@
android:layout_weight="1"
android:scaleType="center"
android:src="@drawable/ic_appwidget_music_play"
- android:background="@drawable/media_button" />
+ android:background="?android:selectableItemBackground" />
<ImageButton
android:id="@+id/control_next"
@@ -107,7 +107,7 @@
android:layout_weight="1"
android:scaleType="center"
android:src="@drawable/ic_appwidget_music_next"
- android:background="@drawable/media_button" />
+ android:background="?android:selectableItemBackground" />
</LinearLayout>
</LinearLayout>
diff --git a/res/layout/basic_list_item.xml b/res/layout/basic_list_item.xml
index 2295a9ba..a49d0c3d 100644
--- a/res/layout/basic_list_item.xml
+++ b/res/layout/basic_list_item.xml
@@ -34,5 +34,5 @@
android:layout_height="fill_parent"
android:layout_gravity="right|center_vertical"
android:paddingRight="10dip"
- android:background="@drawable/menubar_button"/>
+ android:background="?android:selectableItemBackground"/>
</LinearLayout> \ No newline at end of file
diff --git a/res/layout/complex_list_item.xml b/res/layout/complex_list_item.xml
index 87fa7b2f..947b2ee0 100644
--- a/res/layout/complex_list_item.xml
+++ b/res/layout/complex_list_item.xml
@@ -46,5 +46,5 @@
android:layout_height="fill_parent"
android:layout_gravity="right|center_vertical"
android:paddingRight="10dip"
- android:background="@drawable/menubar_button"/>
+ android:background="?android:selectableItemBackground"/>
</LinearLayout> \ No newline at end of file
diff --git a/res/layout/notification.xml b/res/layout/notification.xml
index 55c7be2a..e4cec6fb 100644
--- a/res/layout/notification.xml
+++ b/res/layout/notification.xml
@@ -51,7 +51,7 @@
<ImageButton
android:id="@+id/control_previous"
android:src="@drawable/notification_previous"
- android:background="@drawable/btn_bg"
+ android:background="?android:selectableItemBackground"
android:layout_width="46dip"
android:layout_height="fill_parent"
android:layout_gravity="center|right"
@@ -62,7 +62,7 @@
<ImageButton
android:id="@+id/control_pause"
android:src="@drawable/notification_pause"
- android:background="@drawable/btn_bg"
+ android:background="?android:selectableItemBackground"
android:layout_width="46dip"
android:layout_height="fill_parent"
android:layout_gravity="center|right"
@@ -73,7 +73,7 @@
<ImageButton
android:id="@+id/control_next"
android:src="@drawable/notification_next"
- android:background="@drawable/btn_bg"
+ android:background="?android:selectableItemBackground"
android:layout_width="46dip"
android:layout_height="fill_parent"
android:layout_gravity="center|right"
diff --git a/res/layout/notification_expanded.xml b/res/layout/notification_expanded.xml
index 5fc4156a..9fd6c68d 100644
--- a/res/layout/notification_expanded.xml
+++ b/res/layout/notification_expanded.xml
@@ -40,7 +40,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/notification_close"
- android:background="@drawable/btn_bg"
+ android:background="?android:selectableItemBackground"
android:padding="10dip"
android:layout_gravity="right"
android:visibility="gone"/>
@@ -86,7 +86,7 @@
android:layout_gravity="center"
android:layout_weight="1"
android:padding="10dip"
- android:background="@drawable/btn_bg"
+ android:background="?android:selectableItemBackground"
android:scaleType="fitCenter"
android:src="@drawable/notification_previous" />
@@ -97,7 +97,7 @@
android:layout_gravity="center"
android:layout_weight="1"
android:padding="10dip"
- android:background="@drawable/btn_bg"
+ android:background="?android:selectableItemBackground"
android:scaleType="fitCenter"
android:src="@drawable/notification_pause" />
@@ -108,7 +108,7 @@
android:layout_gravity="center"
android:layout_weight="1"
android:padding="10dip"
- android:background="@drawable/btn_bg"
+ android:background="?android:selectableItemBackground"
android:scaleType="fitCenter"
android:src="@drawable/notification_next" />
</LinearLayout>
diff --git a/res/layout/select_album_header.xml b/res/layout/select_album_header.xml
index f803f3af..eb8346c3 100644
--- a/res/layout/select_album_header.xml
+++ b/res/layout/select_album_header.xml
@@ -80,7 +80,7 @@
android:padding="10dip"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
- android:background="@drawable/menubar_button"/>
+ android:background="?android:selectableItemBackground"/>
</RelativeLayout>
diff --git a/res/layout/song_list_item.xml b/res/layout/song_list_item.xml
index 72ee298b..5b4a2895 100644
--- a/res/layout/song_list_item.xml
+++ b/res/layout/song_list_item.xml
@@ -102,5 +102,5 @@
android:layout_height="fill_parent"
android:layout_gravity="right|center_vertical"
android:paddingRight="10dip"
- android:background="@drawable/menubar_button"/>
+ android:background="?android:selectableItemBackground"/>
</LinearLayout>
diff --git a/res/layout/user_list_item.xml b/res/layout/user_list_item.xml
index 657dd910..d9b15cd0 100644
--- a/res/layout/user_list_item.xml
+++ b/res/layout/user_list_item.xml
@@ -41,5 +41,5 @@
android:layout_height="fill_parent"
android:layout_gravity="right|center_vertical"
android:paddingRight="10dip"
- android:background="@drawable/menubar_button"/>
+ android:background="?android:selectableItemBackground"/>
</LinearLayout> \ No newline at end of file