aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-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
-rw-r--r--app/src/main/res/values/dimens.xml1
7 files changed, 19 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"/>
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index 9759e1c2..a9e59202 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -6,4 +6,5 @@
<dimen name="AlbumArt.Header">120dip</dimen>
<dimen name="BottomBar.Text.Major">13sp</dimen>
<dimen name="BottomBar.Text.Minor">12sp</dimen>
+ <dimen name="Star.Small">20dp</dimen>
</resources> \ No newline at end of file