diff options
Diffstat (limited to 'res/edc/view/action_menu.edc')
-rw-r--r-- | res/edc/view/action_menu.edc | 171 |
1 files changed, 171 insertions, 0 deletions
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"; + } + } + } +} |