aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-12-20 11:05:35 -0800
committerScott Jackson <daneren2005@gmail.com>2015-12-20 11:05:35 -0800
commit2f459f8c3f082a9f3adfc546deffe554e625c28b (patch)
tree4cb6d7b1beb26f149e6e20aaad5a6a35ac33f9bb /app/src/main
parente1260eafd3b6053fd51663b2eff5b97fabf51c4e (diff)
downloaddsub-2f459f8c3f082a9f3adfc546deffe554e625c28b.tar.gz
dsub-2f459f8c3f082a9f3adfc546deffe554e625c28b.tar.bz2
dsub-2f459f8c3f082a9f3adfc546deffe554e625c28b.zip
Add a bit of padding to text in cards
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/album_cell_item.xml7
-rw-r--r--app/src/main/res/layout/basic_cell_item.xml3
-rw-r--r--app/src/main/res/values/dimens.xml1
3 files changed, 8 insertions, 3 deletions
diff --git a/app/src/main/res/layout/album_cell_item.xml b/app/src/main/res/layout/album_cell_item.xml
index da872273..b352a5f1 100644
--- a/app/src/main/res/layout/album_cell_item.xml
+++ b/app/src/main/res/layout/album_cell_item.xml
@@ -36,6 +36,7 @@
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingTop="4dp"
+ android:paddingBottom="4dp"
android:paddingLeft="2dp">
<LinearLayout
@@ -53,7 +54,8 @@
android:singleLine="true"
android:ellipsize="marquee"
android:text="@string/search.albums"
- android:textColor="?android:textColorPrimary"/>
+ android:textColor="?android:textColorPrimary"
+ android:paddingLeft="@dimen/Card.TextLeftPadding"/>
<LinearLayout
android:layout_width="fill_parent"
@@ -67,7 +69,8 @@
android:textSize="12sp"
android:textColor="?android:textColorSecondary"
android:singleLine="true"
- android:text="@string/search.artists"/>
+ android:text="@string/search.artists"
+ android:paddingLeft="@dimen/Card.TextLeftPadding"/>
<ImageButton
android:id="@+id/album_star"
diff --git a/app/src/main/res/layout/basic_cell_item.xml b/app/src/main/res/layout/basic_cell_item.xml
index 0ccf78bd..55734b1e 100644
--- a/app/src/main/res/layout/basic_cell_item.xml
+++ b/app/src/main/res/layout/basic_cell_item.xml
@@ -29,7 +29,8 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="true"
android:ellipsize="marquee"
- android:textColor="?android:textColorPrimary"/>
+ android:textColor="?android:textColorPrimary"
+ android:paddingLeft="@dimen/Card.TextLeftPadding"/>
<ImageView
android:id="@+id/item_more"
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index c63976f4..3a0e053a 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -7,4 +7,5 @@
<dimen name="AlbumArt.Header">120dip</dimen>
<dimen name="Star.Small">20dp</dimen>
<dimen name="Card.Radius">4dp</dimen>
+ <dimen name="Card.TextLeftPadding">8dp</dimen>
</resources> \ No newline at end of file