/* * Copyright (c) 2014 Samsung Electronics Co., Ltd. * * Licensed under the Flora License, Version 1.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://floralicense.org/license/ * * 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: "setting-test/datetime"; parts { part { name: "base"; type: RECT; scale: 1; description { state: "default" 0.0; min: 360 420; color_class: B011; } } part { name: "content"; type: SWALLOW; scale: 1; description { state: "default" 0.0; fixed: 0 1; min: 0 290; max: 0 290; rel1 { relative: 0.0 27/420; to: "base"; } rel2 { relative: 1.0 0.0; to: "base"; } align: 0.5 0.0; } } part { name: "btn1"; type: SWALLOW; scale: 1; description { state: "default" 0.0; fixed: 1 1; rel1 { relative: 0.0 1.0; } rel2 { to_x: "padding"; relative: 0.0 1.0; } min: 0 76; align: 0.5 1; } } part { name: "padding"; type: SPACER; scale: 1; mouse_events: 0; description { state: "default" 0.0; rel1 { relative: 0.5 1.0; } rel2 { relative: 0.5 1.0; } align: 0.5 1.0; min: 1 0; max: 1 0; fixed: 1 0; } } part { name: "btn2"; type: SWALLOW; scale: 1; description { state: "default" 0.0; fixed: 1 1; rel1 { to_x: "padding"; relative: 1.0 1.0; } rel2 { relative: 1.0 1.0; } min: 0 76; align: 0.5 1; } } } }