summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorlinus_lee <llee@cyngn.com>2014-09-09 16:28:10 -0700
committerlinus_lee <llee@cyngn.com>2014-11-20 12:03:03 -0800
commit159e1c3e84b569437792cd4d7c2c99701dfa29fe (patch)
treec536f8ba849f3a28728562dc22f00dcc31edcf8b /res/values
parentf764f67c5a52b3b3a508062f6445727933a68210 (diff)
downloadandroid_packages_apps_Eleven-159e1c3e84b569437792cd4d7c2c99701dfa29fe.tar.gz
android_packages_apps_Eleven-159e1c3e84b569437792cd4d7c2c99701dfa29fe.tar.bz2
android_packages_apps_Eleven-159e1c3e84b569437792cd4d7c2c99701dfa29fe.zip
Eleven: Change playlist to the new layout, rip out dead code
Still missing the image based on the top played - this turned out to be larger so I'm moving that to a separate changelist. Some code similar to the ArtistDetailPage but not enough to warrant sharing of code Change-Id: I84454590c8d9580ca42ac8254bc3648368d233a3
Diffstat (limited to 'res/values')
-rw-r--r--res/values/colors.xml2
-rw-r--r--res/values/dimens.xml3
-rw-r--r--res/values/strings.xml4
3 files changed, 9 insertions, 0 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 62579cb..1cc9430 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -66,6 +66,8 @@
<color name="header_action_bar_text_color">@color/white</color>
<color name="bottom_action_bar_text_color">@color/default_text_color_light</color>
+ <!-- Color for background for shadow on playlist page -->
+ <color name="header_shadow_color">#ea31353f</color>
<!-- Color for the pop up menu -->
<color name="menu_divider_color">#4ca19d9e</color>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 6437a23..7fd95f0 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -94,6 +94,9 @@
<dimen name="profile_carousel_label_height">45.0dip</dimen>
<dimen name="profile_indicator_height">5.0dip</dimen>
<dimen name="profile_label_padding">16.0dip</dimen>
+ <!-- playlist detail header -->
+ <dimen name="playlist_detail_header_height">240.0dip</dimen>
+ <dimen name="playlist_detail_header_bottom_height">40.0dip</dimen>
<!-- Audio player Buttons (play/pause/shuffle/repeat/next/previous)-->
<dimen name="audio_player_controls_end_button_width">30.0dip</dimen>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index ec7e719..84ac14c 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -202,4 +202,8 @@
<string name="header_5_plus_albums">5+ Albums</string>
<string name="combine_two_strings">%1$s | %2$s</string>
+
+ <string name="duration_mins"><xliff:g id="format">%3$dm %4$ds</xliff:g></string>
+ <string name="duration_hours"><xliff:g id="format">%2$dh %3$dm %4$ds</xliff:g></string>
+ <string name="duration_days"><xliff:g id="format">%1$dd %2$dd %3$dm %4$ds</xliff:g></string>
</resources>