summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorJehun Lim <jehun.lim@samsung.com>2015-08-10 20:43:43 +0900
committerJehun Lim <jehun.lim@samsung.com>2015-08-11 21:05:28 +0900
commit6b40c5fb0c761b53fa38978c5cb7a22041bd8891 (patch)
tree69d349e7ec8418f199a96a14b0f4bdd6db9d8e31 /res
parent1f1f97bc3588d126d5c699181e3a109742710333 (diff)
downloadair_mediahub-6b40c5fb0c761b53fa38978c5cb7a22041bd8891.tar.gz
air_mediahub-6b40c5fb0c761b53fa38978c5cb7a22041bd8891.tar.bz2
air_mediahub-6b40c5fb0c761b53fa38978c5cb7a22041bd8891.zip
Change-Id: I8ca095e9896a6791121609878e32de9155095981 Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
Diffstat (limited to 'res')
-rw-r--r--res/edc/mediahub.edc1
-rw-r--r--res/edc/view/action_menu.edc171
2 files changed, 172 insertions, 0 deletions
diff --git a/res/edc/mediahub.edc b/res/edc/mediahub.edc
index 448edc8..c73dcd1 100644
--- a/res/edc/mediahub.edc
+++ b/res/edc/mediahub.edc
@@ -20,6 +20,7 @@ collections {
#include "view/base.edc"
#include "view/viewer.edc"
#include "view/mplayer.edc"
+ #include "view/action_menu.edc"
#include "layout/movie.edc"
#include "layout/gallery.edc"
#include "layout/music.edc"
diff --git a/res/edc/view/action_menu.edc b/res/edc/view/action_menu.edc
new file mode 100644
index 0000000..2ba3028
--- /dev/null
+++ b/res/edc/view/action_menu.edc
@@ -0,0 +1,171 @@
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+group {
+ name: GRP_ACTION_MENU_VIEW;
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 150;
+ }
+ }
+ part {
+ name: "menu_area";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ min: 500 0;
+ align: 1.0 0.5;
+ color: COLOR_ITEM_BG;
+ fixed: 1 0;
+ }
+ }
+ part {
+ name: "divider";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "menu_area";
+ rel2 {
+ to: "menu_area";
+ relative: 0.0 1.0;
+ }
+ min: 1 0;
+ align: 1.0 0.5;
+ color: 0 0 0 25;
+ fixed: 1 0;
+ }
+ }
+ part {
+ name: "tv_btn_area";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "menu_area";
+ rel2 {
+ to: "menu_area";
+ relative: 1.0 0.0;
+ }
+ min: 0 118;
+ align: 0.5 0.0;
+ fixed: 0 1;
+ }
+ }
+ part {
+ name: PART_ACTION_TV_BTN;
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "tv_btn_area";
+ relative: 0.5 0.5;
+ }
+ rel2 {
+ to: "tv_btn_area";
+ relative: 0.5 0.5;
+ }
+ min: 372 64;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: PART_ACTION_MENU_AREA;
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "tv_btn_area";
+ relative: 0.0 1.0;
+ }
+ rel2.to: "tv_btn_area";
+ min: 0 251;
+ align: 0.5 0.0;
+ fixed: 0 1;
+ }
+ }
+ part {
+ name: "padding_favorite_title";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: PART_ACTION_MENU_AREA;
+ relative: 0.0 1.0;
+ }
+ rel2.to: PART_ACTION_MENU_AREA;
+ min: 0 40;
+ align: 0.5 0.0;
+ fixed: 0 1;
+ }
+ }
+ part {
+ name: PART_ACTION_FAVORITE_TITLE;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "padding_favorite_title";
+ relative: 0.0 1.0;
+ }
+ rel2.to: "padding_favorite_title";
+ min: 0 32;
+ align: 0.5 0.0;
+ fixed: 0 1;
+ }
+ }
+ part {
+ name: "padding_favorite_area";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: PART_ACTION_FAVORITE_TITLE;
+ relative: 0.0 1.0;
+ }
+ rel2.to: PART_ACTION_FAVORITE_TITLE;
+ min: 0 30;
+ align: 0.5 0.0;
+ fixed: 0 1;
+ }
+ }
+ part {
+ name: PART_ACTION_FAVORITE_AREA;
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "padding_favorite_area";
+ relative: 0.0 1.0;
+ }
+ rel2.to: "bg";
+ }
+ }
+ }
+}