summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorJehun Lim <jehun.lim@samsung.com>2015-09-02 15:24:54 +0900
committerJehun Lim <jehun.lim@samsung.com>2015-09-02 15:24:54 +0900
commit91ab3c2eb1f1b3b8521474e1a1e26bb7f1e7e095 (patch)
treeee13545e761bc9f1b58b26063aeef5c21ca39b0c /res
parent44fbed6475c2576f0ee745521c249a22987fad7f (diff)
downloadair_mediahub-91ab3c2eb1f1b3b8521474e1a1e26bb7f1e7e095.tar.gz
air_mediahub-91ab3c2eb1f1b3b8521474e1a1e26bb7f1e7e095.tar.bz2
air_mediahub-91ab3c2eb1f1b3b8521474e1a1e26bb7f1e7e095.zip
base: add button and ctxpopup to select view mode
Change-Id: I8e45929ebcc5b67076f375459054e26a5c999bf4 Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
Diffstat (limited to 'res')
-rw-r--r--res/edc/layout/movie.edc41
-rw-r--r--res/edc/view/base.edc85
-rw-r--r--res/edc/widgets/ctxpopup.edc2
3 files changed, 85 insertions, 43 deletions
diff --git a/res/edc/layout/movie.edc b/res/edc/layout/movie.edc
index 479d8ad..3b8c598 100644
--- a/res/edc/layout/movie.edc
+++ b/res/edc/layout/movie.edc
@@ -52,10 +52,6 @@ group {
to: "padding_thumbnail_area";
relative: 1.0 0.0;
}
- rel2 {
- to: "padding_content_info";
- relative: 1.0 0.0;
- }
}
}
part {
@@ -74,42 +70,5 @@ group {
color: COLOR_TEXT_NORMAL;
}
}
- part {
- name: "padding_content_info";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: PART_CONTENT_INFO;
- rel2 {
- to: PART_CONTENT_INFO;
- relative: 1.0 0.0;
- }
- min: 0 16;
- align: 0.5 1.0;
- fixed: 0 1;
- }
- }
- part {
- name: PART_CONTENT_INFO;
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- to: "padding_thumbnail_area";
- relative: 1.0 1.0;
- }
- text {
- font: FONT_LIGHT;
- size: 28;
- align: 0.0 0.5;
- }
- min: 0 64;
- align: 0.5 1.0;
- color: COLOR_TEXT_INDEX;
- fixed: 0 1;
- }
- }
}
}
diff --git a/res/edc/view/base.edc b/res/edc/view/base.edc
index b95e599..52bdbcf 100644
--- a/res/edc/view/base.edc
+++ b/res/edc/view/base.edc
@@ -133,11 +133,94 @@ group {
relative: 0.0 1.0;
}
rel2.to: "padding_thumbnail_area";
- min: 0 784;
+ min: 0 720;
align: 0.5 0.0;
fixed: 0 1;
}
}
+ part {
+ name: "bottom_area";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: PART_THUMBNAIL_AREA;
+ relative: 0.0 1.0;
+ }
+ rel2.to: PART_THUMBNAIL_AREA;
+ min: 0 64;
+ align: 0.5 0.0;
+ fixed: 0 1;
+ }
+ }
+ part {
+ name: "padding_view_mode";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "bottom_area";
+ rel2 {
+ to: "bottom_area";
+ relative: 0.0 1.0;
+ }
+ min: 62 0;
+ align: 0.0 0.5;
+ fixed: 1 0;
+ }
+ }
+ part {
+ name: PART_VIEW_MODE;
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "padding_view_mode";
+ relative: 1.0 0.0;
+ }
+ rel2.to: "padding_view_mode";
+ min: 218 0;
+ align: 0.0 0.5;
+ fixed: 1 0;
+ }
+ }
+ part {
+ name: "padding_content_info";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: PART_VIEW_MODE;
+ relative: 1.0 0.0;
+ }
+ rel2.to: PART_VIEW_MODE;
+ min: 26 0;
+ align: 0.0 0.5;
+ fixed: 1 0;
+ }
+ }
+ part {
+ name: PART_CONTENT_INFO;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "padding_content_info";
+ relative: 1.0 0.0;
+ }
+ rel2.to: "bottom_area";
+ text {
+ font: FONT_LIGHT;
+ size: 28;
+ align: 0.0 0.5;
+ }
+ color: COLOR_TEXT_INDEX;
+ }
+ }
/* CURTAIN */
part {
diff --git a/res/edc/widgets/ctxpopup.edc b/res/edc/widgets/ctxpopup.edc
index 188d688..616b6d4 100644
--- a/res/edc/widgets/ctxpopup.edc
+++ b/res/edc/widgets/ctxpopup.edc
@@ -24,7 +24,7 @@ group {
scale: 1;
description {
state: "default" 0.0;
- min: 220 226;
+ min: 220 0;
color: COLOR_ITEM_BG;
}
}