summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorJehun Lim <jehun.lim@samsung.com>2015-08-21 14:49:34 +0900
committerJehun Lim <jehun.lim@samsung.com>2015-08-24 22:00:15 +0900
commit62d4e69593ccbe170c1ff706733683001983a4bc (patch)
tree8e819a084812bad17085ebd5f831f4dbbceff6c1 /res
parent9618ec521cb44500300f99fa4107a11ea38fe783 (diff)
downloadair_mediahub-62d4e69593ccbe170c1ff706733683001983a4bc.tar.gz
air_mediahub-62d4e69593ccbe170c1ff706733683001983a4bc.tar.bz2
air_mediahub-62d4e69593ccbe170c1ff706733683001983a4bc.zip
action_menu: add no favorite content area
Change-Id: Ic6dec7c882023d7d769fc13ec06a7dfe56c6f5f1 Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
Diffstat (limited to 'res')
-rw-r--r--res/edc/view/action_menu.edc120
1 files changed, 112 insertions, 8 deletions
diff --git a/res/edc/view/action_menu.edc b/res/edc/view/action_menu.edc
index 7514ebf..d5f594b 100644
--- a/res/edc/view/action_menu.edc
+++ b/res/edc/view/action_menu.edc
@@ -170,7 +170,7 @@ group {
relative: 1.0 1.0;
}
rel2.to: PART_ACTION_MENU_AREA;
- min: 10 40;
+ min: 30 40;
align: 1.0 0.0;
fixed: 1 1;
}
@@ -201,7 +201,7 @@ group {
}
}
part {
- name: "padding_favorite_area";
+ name: "padding_favorite_area_left_top";
type: SPACER;
scale: 1;
description {
@@ -210,10 +210,26 @@ group {
to: PART_ACTION_FAVORITE_TITLE;
relative: 0.0 1.0;
}
- rel2.to: PART_ACTION_FAVORITE_TITLE;
+ rel2 {
+ to: PART_ACTION_FAVORITE_TITLE;
+ relative: 0.0 1.0;
+ }
min: 0 30;
- align: 0.5 0.0;
- fixed: 0 1;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "padding_favorite_area_right_bottom";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.relative: 1.0 1.0;
+ rel2.relative: 1.0 1.0;
+ min: 10 0;
+ align: 1.0 1.0;
+ fixed: 1 1;
}
}
part {
@@ -223,14 +239,102 @@ group {
description {
state: "default" 0.0;
rel1 {
- to: "padding_favorite_area";
+ to: "padding_favorite_area_left_top";
+ relative: 0.0 1.0;
+ }
+ rel2 {
+ to: "padding_favorite_area_right_bottom";
+ relative: 0.0 0.0;
+ }
+ }
+ }
+ part {
+ name: "padding_bg_no_content_right_bottom";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.relative: 1.0 1.0;
+ rel2.relative: 1.0 1.0;
+ min: 30 32;
+ align: 1.0 1.0;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: PART_ACTION_NO_CONTENT_BG;
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "padding_favorite_area_left_top";
relative: 0.0 1.0;
}
rel2 {
- to_x: "padding_favorite_area";
- to_y: "bg";
+ to: "padding_bg_no_content_right_bottom";
+ relative: 0.0 0.0;
+ }
+ }
+ }
+ }
+}
+
+group {
+ name: GRP_ACTION_NO_CONTENT;
+ parts {
+ part {
+ name: PART_NO_CONTENT_BG;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: COLOR_NO_CONTENT_BG;
+ visible: 0;
+ }
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: PART_NO_CONTENT_TEXT;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ text {
+ font: FONT_LIGHT;
+ size: 32;
+ align: 0.5 0.5;
}
+ color: COLOR_TEXT_INDEX;
+ visible: 0;
+ }
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
}
}
}
+ programs {
+ program {
+ name: SIG_SHOW_NO_CONTENT;
+ signal: SIG_SHOW_NO_CONTENT;
+ source: SIG_SOURCE_SRC;
+ action: STATE_SET "show" 0.0;
+ target: PART_NO_CONTENT_BG;
+ target: PART_NO_CONTENT_TEXT;
+ }
+ program {
+ name: SIG_HIDE_NO_CONTENT;
+ signal: SIG_HIDE_NO_CONTENT;
+ source: SIG_SOURCE_SRC;
+ action: STATE_SET "default" 0.0;
+ target: PART_NO_CONTENT_BG;
+ target: PART_NO_CONTENT_TEXT;
+ }
+ }
}