/* * 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: 1 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: 1 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_LIST_BG; rel1.to: "rightarea"; rel2.to: "rightarea"; } } part { name: PART_MPLAYER_LIST; type: SWALLOW; scale: 1; clip_to: "rightarea"; description { state: "default" 0.0; rel1.to: "rightarea_bg"; rel2.to: "rightarea_bg"; } } /* CURTAIN */ part { name: "curtain"; type: RECT; scale: 1; description { state: "default" 0.0; rel2 { to: "bg"; relative: 0.0 0.0; } rel2 { to: "bg"; relative: 1.0 1.0; } align: 0.0 0.0; color: 255 255 255 255; } description { state: "show" 0.0; color: 255 255 255 0; visible: 0; } } } programs { program { name: SIG_SHOW_VIEW; signal: SIG_SHOW_VIEW; source: ""; action: STATE_SET "show" 0.0; target: "curtain"; transition: TRANSITION_SHOW_VIEW; } program { name: SIG_HIDE_VIEW; signal: SIG_HIDE_VIEW; source: ""; action: STATE_SET "default" 0.0; target: "curtain"; } } }