aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-07-11 10:11:45 -0700
committerScott Jackson <daneren2005@gmail.com>2015-07-11 10:11:45 -0700
commitae22717cc4e0deedac71e91d3566a9302727e62b (patch)
tree3157f85bd1c6c1c3923aea75fd77698d6624cce8 /app/src/main/res/layout
parent46b2eafe0a11c93a4907eb0057fdb06c79751986 (diff)
downloaddsub-ae22717cc4e0deedac71e91d3566a9302727e62b.tar.gz
dsub-ae22717cc4e0deedac71e91d3566a9302727e62b.tar.bz2
dsub-ae22717cc4e0deedac71e91d3566a9302727e62b.zip
Tint stars according to theme
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/album_cell_item.xml6
-rw-r--r--app/src/main/res/layout/album_list_item.xml6
-rw-r--r--app/src/main/res/layout/basic_list_item.xml6
-rw-r--r--app/src/main/res/layout/complex_list_item.xml6
-rw-r--r--app/src/main/res/layout/song_list_item.xml6
-rw-r--r--app/src/main/res/layout/user_list_item.xml6
6 files changed, 18 insertions, 18 deletions
diff --git a/app/src/main/res/layout/album_cell_item.xml b/app/src/main/res/layout/album_cell_item.xml
index fe634c13..244c6f1f 100644
--- a/app/src/main/res/layout/album_cell_item.xml
+++ b/app/src/main/res/layout/album_cell_item.xml
@@ -67,10 +67,10 @@
<ImageButton
android:id="@+id/album_star"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_width="@dimen/Star.Small"
+ android:layout_height="@dimen/Star.Small"
+ android:scaleType="fitCenter"
android:layout_gravity="right|center_vertical"
- android:src="@drawable/ic_stat_star"
android:background="@android:color/transparent"
android:focusable="false"
android:visibility="gone"/>
diff --git a/app/src/main/res/layout/album_list_item.xml b/app/src/main/res/layout/album_list_item.xml
index 150cbd8f..ba892365 100644
--- a/app/src/main/res/layout/album_list_item.xml
+++ b/app/src/main/res/layout/album_list_item.xml
@@ -59,10 +59,10 @@
<ImageButton
android:id="@+id/album_star"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_width="@dimen/Star.Small"
+ android:layout_height="@dimen/Star.Small"
+ android:scaleType="fitCenter"
android:layout_gravity="right|center_vertical"
- android:src="@drawable/ic_stat_star"
android:background="@android:color/transparent"
android:focusable="false"
android:visibility="gone"/>
diff --git a/app/src/main/res/layout/basic_list_item.xml b/app/src/main/res/layout/basic_list_item.xml
index 04fdfe06..ea1df8e8 100644
--- a/app/src/main/res/layout/basic_list_item.xml
+++ b/app/src/main/res/layout/basic_list_item.xml
@@ -20,10 +20,10 @@
<ImageButton
android:id="@+id/item_star"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_width="@dimen/Star.Small"
+ android:layout_height="@dimen/Star.Small"
+ android:scaleType="fitCenter"
android:layout_gravity="right|center_vertical"
- android:src="@drawable/ic_stat_star"
android:background="@android:color/transparent"
android:focusable="false"
android:visibility="gone"/>
diff --git a/app/src/main/res/layout/complex_list_item.xml b/app/src/main/res/layout/complex_list_item.xml
index 2aec9451..143f9af9 100644
--- a/app/src/main/res/layout/complex_list_item.xml
+++ b/app/src/main/res/layout/complex_list_item.xml
@@ -33,10 +33,10 @@
<ImageButton
android:id="@+id/item_star"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_width="@dimen/Star.Small"
+ android:layout_height="@dimen/Star.Small"
+ android:scaleType="fitCenter"
android:layout_gravity="right|center_vertical"
- android:src="@drawable/ic_stat_star"
android:background="@android:color/transparent"
android:focusable="false"
android:visibility="gone"/>
diff --git a/app/src/main/res/layout/song_list_item.xml b/app/src/main/res/layout/song_list_item.xml
index 419f9524..7b4933e0 100644
--- a/app/src/main/res/layout/song_list_item.xml
+++ b/app/src/main/res/layout/song_list_item.xml
@@ -52,10 +52,10 @@
<ImageButton
android:id="@+id/song_star"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_width="@dimen/Star.Small"
+ android:layout_height="@dimen/Star.Small"
+ android:scaleType="fitCenter"
android:layout_gravity="right|center_vertical"
- android:src="@drawable/ic_stat_star"
android:background="@null"
android:focusable="false"
android:visibility="gone"/>
diff --git a/app/src/main/res/layout/user_list_item.xml b/app/src/main/res/layout/user_list_item.xml
index aa198578..c2e708c8 100644
--- a/app/src/main/res/layout/user_list_item.xml
+++ b/app/src/main/res/layout/user_list_item.xml
@@ -27,10 +27,10 @@
<ImageButton
android:id="@+id/item_star"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_width="@dimen/Star.Small"
+ android:layout_height="@dimen/Star.Small"
+ android:scaleType="fitCenter"
android:layout_gravity="right|center_vertical"
- android:src="@drawable/ic_stat_star"
android:background="@android:color/transparent"
android:focusable="false"
android:visibility="gone"/>