summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2015-08-04 17:12:09 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2015-08-04 17:12:31 +0900
commit1bd3506a57bcb9e37329406f36f8e0553d5248f0 (patch)
tree4f34bb91d7761d228af4b69862c35f59b2a28892 /res
parent891e97f51ffa39fdbd9cb2071c1234334e79cdbf (diff)
downloadair_mediahub-1bd3506a57bcb9e37329406f36f8e0553d5248f0.tar.gz
air_mediahub-1bd3506a57bcb9e37329406f36f8e0553d5248f0.tar.bz2
air_mediahub-1bd3506a57bcb9e37329406f36f8e0553d5248f0.zip
mplyaer: add favorite icon at list
Change-Id: Ie6d5a2e6f330e2d27a3241225f66596e8ad4544b Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'res')
-rw-r--r--res/edc/widgets/genlist.edc114
-rw-r--r--res/images/ic_music_list_favorite.pngbin0 -> 1818 bytes
2 files changed, 90 insertions, 24 deletions
diff --git a/res/edc/widgets/genlist.edc b/res/edc/widgets/genlist.edc
index 7309809..8ac6183 100644
--- a/res/edc/widgets/genlist.edc
+++ b/res/edc/widgets/genlist.edc
@@ -18,8 +18,8 @@ group {
name: "elm/genlist/item/music_list/default";
data.item: "selectraise" "on";
data.item: "focusraise" "on";
- data.item: "texts" "elm.text.title elm.text.artist elm.text.playtime";
- data.item: "contents" "elm.swallow.icon";
+ data.item: "texts" "elm.text.title elm.text.title2 elm.text.artist elm.text.playtime";
+ data.item: "contents" "elm.swallow.favorite";
data.item: "focus_highlight" "on";
images {
image: IMAGE_MUSIC_LIST_PLAY COMP;
@@ -32,7 +32,8 @@ group {
scale: 1;
description {
state: "default" 0.0;
- min: 0 140;
+ min: 960 140;
+ align: 0.0 0.0;
color: COLOR_LIST_BG;
}
description {
@@ -179,21 +180,6 @@ group {
fixed: 1 1;
align: 0.0 0.0;
}
- description {
- state: "default" 0.1;
- inherit: "default" 0.0;
- min: 130 140;
- rel1 {
- to: "right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "right_padding";
- relative: 1.0 0.0;
- }
- align: 0.0 0.0;
- fixed: 1 1;
- }
}
part {
name: PART_ELM_TEXT_PLAYTIME;
@@ -226,8 +212,8 @@ group {
}
}
part {
- name: PART_ELM_TEXT_TITLE;
- type: TEXT;
+ name: "title_area";
+ type: RECT;
scale: 1;
description {
state: "default" 0.0;
@@ -240,6 +226,26 @@ group {
to: PART_ELM_TEXT_PLAYTIME;
relative: 0.0 0.0;
}
+ fixed: 0 1;
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: PART_ELM_TEXT_TITLE;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 68;
+ rel1 {
+ to: "title_area";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "title_area";
+ relative: 1.0 0.0;
+ }
text {
font: FONT_LIGHT;
size: 36;
@@ -256,6 +262,28 @@ group {
}
}
part {
+ name: PART_ELM_TEXT_TITLE2;
+ inherit: PART_ELM_TEXT_TITLE;
+ description {
+ state: "default" 0.0;
+ max: 740 68;
+ rel2 {
+ to: "title_area";
+ relative: 0.0 0.0;
+ }
+ text {
+ min: 1 0;
+ ellipsis: -1;
+ }
+ visible: 0;
+ }
+ description {
+ state: "default" 0.1;
+ inherit: "default" 0.0;
+ max: 668 0;
+ }
+ }
+ part {
name: PART_ELM_TEXT_ARTIST;
type: TEXT;
scale: 1;
@@ -263,11 +291,11 @@ group {
state: "default" 0.0;
min: 0 44;
rel1 {
- to: PART_ELM_TEXT_TITLE;
+ to: "title_area";
relative: 0.0 1.0;
}
rel2 {
- to: PART_ELM_TEXT_TITLE;
+ to: "title_area";
relative: 1.0 1.0;
}
text {
@@ -285,6 +313,44 @@ group {
color: COLOR_TEXT_FOCUS;
}
}
+ part {
+ name: "padding_favorite";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 10 28;
+ rel1 {
+ to: PART_ELM_TEXT_TITLE2;
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: PART_ELM_TEXT_TITLE2;
+ relative: 1.0 0.0;
+ }
+ fixed: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ part {
+ name: PART_ELM_SWALLOW_FAVORITE;
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 36 36;
+ rel1 {
+ to: "padding_favorite";
+ relative: 1.0 1.0;
+ }
+ rel2 {
+ to: "padding_favorite";
+ relative: 1.0 1.0;
+ }
+ fixed: 1 1;
+ align: 0.0 0.0;
+ }
+ }
}
script {
public focus_status = 0;
@@ -337,7 +403,7 @@ group {
action: STATE_SET "default" 0.1;
target: "image_padding";
target: "image_bg";
- target: "time_padding";
+ target: PART_ELM_TEXT_TITLE2;
transition: TRANSITION_SHOW_ICON;
after: "select,image";
}
@@ -365,7 +431,7 @@ group {
action: STATE_SET "default" 0.0;
target: "image_padding";
target: "image_bg";
- target: "time_padding";
+ target: PART_ELM_TEXT_TITLE2;
transition: TRANSITION_SHOW_ICON;
}
}
diff --git a/res/images/ic_music_list_favorite.png b/res/images/ic_music_list_favorite.png
new file mode 100644
index 0000000..2df7931
--- /dev/null
+++ b/res/images/ic_music_list_favorite.png
Binary files differ