From 8b565e4ce5f0370425274142cd861c345beb10a3 Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Tue, 14 Jul 2015 22:13:53 +0900 Subject: music player: add edc file Change-Id: I92a59937bf93a76627a72ea30fa2d6e79735c4b2 Signed-off-by: Minkyu Kang --- res/edc/view/mplayer.edc | 438 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 438 insertions(+) create mode 100644 res/edc/view/mplayer.edc (limited to 'res/edc/view') diff --git a/res/edc/view/mplayer.edc b/res/edc/view/mplayer.edc new file mode 100644 index 0000000..e15fcda --- /dev/null +++ b/res/edc/view/mplayer.edc @@ -0,0 +1,438 @@ +/* + * 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_MPLAYER_VIEW; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + + /* LEFT */ + part { + name: "leftarea"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.5 1.0; + } + align: 0.0 0.0; + fixed: 0 0; + } + } + part { + name: "leftarea_bg"; + type: RECT; + scale: 1; + clip_to: "leftarea"; + description { + state: "default" 0.0; + color: 255 255 255 255; + rel1.to: "leftarea"; + rel2.to: "leftarea"; + } + } + part { + name: "padding_top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 376; + rel1 { + to: "leftarea"; + relative: 0.0 0.0; + } + rel2 { + to: "leftarea"; + relative: 1.0 0.0; + } + fixed: 0 1; + align: 0.0 0.0; + } + } + part { + name: "padding_thumb"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 296; + rel1 { + to: "padding_top"; + relative: 0.0 1.0; + } + rel2 { + to: "padding_top"; + relative: 1.0 1.0; + } + fixed: 0 1; + align: 0.0 0.0; + } + } + part { + name: PART_MPLAYER_THUMB; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 440 440; + rel1 { + to: "padding_top"; + relative: 0.5 1.0; + } + rel2 { + to: "padding_top"; + relative: 0.5 1.0; + } + fixed: 1 1; + align: 0.5 0.5; + } + } + part { + name: PART_MPLAYER_TITLE; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + min: 0 42; + rel1 { + to: "padding_thumb"; + relative: 0.0 1.0; + } + rel2 { + to: "padding_thumb"; + relative: 1.0 1.0; + } + text { + font: FONT_LIGHT; + size: 42; + align: 0.5 0.5; + } + color: COLOR_TEXT_TITLE; + fixed: 0 1; + align: 0.0 0.0; + } + } + part { + name: "padding_title"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 18; + rel1 { + to: PART_MPLAYER_TITLE; + relative: 0.0 1.0; + } + rel2 { + to: PART_MPLAYER_TITLE; + relative: 1.0 1.0; + } + fixed: 0 1; + align: 0.0 0.0; + } + } + part { + name: PART_MPLAYER_INFO; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + min: 0 30; + rel1 { + to: "padding_title"; + relative: 0.0 1.0; + } + rel2 { + to: "padding_title"; + relative: 1.0 1.0; + } + text { + font: FONT_LIGHT; + size: 30; + align: 0.5 0.5; + } + color: COLOR_TEXT_MENU; + fixed: 0 1; + align: 0.0 0.0; + } + } + part { + name: "padding_info"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 34; + rel1 { + to: PART_MPLAYER_INFO; + relative: 0.0 1.0; + } + rel2 { + to: PART_MPLAYER_INFO; + relative: 1.0 1.0; + } + fixed: 0 1; + align: 0.0 0.0; + } + } + part { + name: "controls_bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 820 142; + rel1 { + to: "padding_info"; + relative: 0.5 1.0; + } + rel2 { + to: "padding_info"; + relative: 0.5 1.0; + } + fixed: 1 1; + align: 0.5 0.0; + visible: 0; + } + } + part { + name: "control_btn0"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 164 142; + rel1 { + to: "controls_bg"; + relative: 0.0 0.5; + } + rel2 { + to: "controls_bg"; + relative: 0.0 0.5; + } + fixed: 1 1; + align: 0.0 0.5; + } + } + part { + name: "control_btn1"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 164 142; + rel1 { + to: "control_btn0"; + relative: 1.0 0.5; + } + rel2 { + to: "control_btn0"; + relative: 1.0 0.5; + } + fixed: 1 1; + align: 0.0 0.5; + } + } + part { + name: "control_btn2"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 164 142; + rel1 { + to: "control_btn1"; + relative: 1.0 0.5; + } + rel2 { + to: "control_btn1"; + relative: 1.0 0.5; + } + fixed: 1 1; + align: 0.0 0.5; + } + } + part { + name: "control_btn3"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 164 142; + rel1 { + to: "control_btn2"; + relative: 1.0 0.5; + } + rel2 { + to: "control_btn2"; + relative: 1.0 0.5; + } + fixed: 1 1; + align: 0.0 0.5; + } + } + part { + name: "control_btn4"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 164 142; + rel1 { + to: "control_btn3"; + relative: 1.0 0.5; + } + rel2 { + to: "control_btn3"; + relative: 1.0 0.5; + } + fixed: 1 1; + align: 0.0 0.5; + } + } + part { + name: "padding_control"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 28; + rel1 { + to: "controls_bg"; + relative: 0.0 1.0; + } + rel2 { + to: "controls_bg"; + relative: 1.0 1.0; + } + fixed: 0 1; + align: 0.0 0.0; + } + } + part { + name: PART_MPLAYER_SLIDER; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 698 28; + rel1 { + to: "padding_control"; + relative: 0.5 1.0; + } + rel2 { + to: "padding_control"; + relative: 0.5 1.0; + } + fixed: 1 1; + align: 0.5 0.0; + } + } + part { + name: PART_MPLAYER_PROGRESS; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + min: 86 28; + rel1 { + to: PART_MPLAYER_SLIDER; + relative: 0.0 0.0; + } + rel2 { + to: PART_MPLAYER_SLIDER; + relative: 0.0 0.0; + } + text { + font: FONT_LIGHT; + size: 28; + align: 0.0 0.5; + } + color: COLOR_TEXT_SELECTED; + fixed: 0 1; + align: 1.0 0.0; + } + } + part { + name: PART_MPLAYER_TOTAL; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + min: 86 28; + rel1 { + to: PART_MPLAYER_SLIDER; + relative: 1.0 0.0; + } + rel2 { + to: PART_MPLAYER_SLIDER; + relative: 1.0 0.0; + } + text { + font: FONT_LIGHT; + size: 28; + align: 1.0 0.5; + } + color: COLOR_TEXT_MENU; + fixed: 0 1; + align: 0.0 0.0; + } + } + + /* RIGHT */ + part { + name: "rightarea"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 0.5 0.0; + } + rel2 { + relative: 1.0 1.0; + } + align: 0.0 0.0; + fixed: 0 0; + } + } + part { + name: "rightarea_bg"; + type: RECT; + scale: 1; + clip_to: "rightarea"; + description { + state: "default" 0.0; + color: COLOR_BASE_BG; + rel1.to: "rightarea"; + rel2.to: "rightarea"; + } + } + } +} -- cgit v1.2.3