diff options
Diffstat (limited to 'edje/widget/notify.edc')
-rw-r--r-- | edje/widget/notify.edc | 174 |
1 files changed, 174 insertions, 0 deletions
diff --git a/edje/widget/notify.edc b/edje/widget/notify.edc new file mode 100644 index 0000000..58a869f --- /dev/null +++ b/edje/widget/notify.edc @@ -0,0 +1,174 @@ +/* + * 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. + */ + +styles { + style { + name: "toast_style"; + base: "font=TizenSans:style=Light font_size=28 align=center color=#515151"; + tag: "br" "\n"; + tag: "tab" "\t"; + } +} + +group { + name: "elm/notify/bottom_left/toast"; + parts { + part { + name: "padding"; + type: SPACER; + description { + state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 0.0 1.0; + min: 40 40; + align: 0.0 1.0; + fixed: 1 1; + } + } + part { + name: "area"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "padding"; + relative: 1.0 0.0; + } + rel2 { + to: "padding"; + relative: 1.0 0.0; + } + min: 536 70; + max: 536 108; + align: 0.0 1.0; + fixed: 1 1; + } + } + part { + name: "base"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "area"; + rel2.to: "area"; + align: 1.0 1.0; + color: 255 255 255 255; + fixed: 1 1; + } + } + part { + name: "border.top"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 194 194 194 255; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 1.0 0.0; + min: 0 1; + align: 0.0 0.0; + fixed: 0 1; + } + } + part { + name: "border.left"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 194 194 194 255; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative, 0.0 1.0; + min, 1 0; + align, 0.0 0.0; + fixed, 1 0; + } + } + part { + name: "border.right"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 194 194 194 255; + rel1.to: "base"; + rel2.to: "base"; + rel1.relative, 1.0 0.0; + min, 1 0; + align, 1.0 0.0; + fixed, 1 0; + } + } + part { + name: "border.bottom"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 194 194 194 255; + rel1.to: "base"; + rel2.to: "base"; + rel1.relative, 0.0 1.0; + min, 0 1; + align, 0.0 1.0; + fixed, 0 1; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + to: "base"; + relative: 0.5 0.5; + } + rel2 { + to: "base"; + relative: 0.5 0.5; + } + align: 0.5 0.5; + min: 476 28; + fixed: 1 1; + } + } + } +} + +group { + name: "elm/label/base/toast"; + parts { + part { + name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + text { + style: "toast_style"; + min: 0 1; + max: 0 1; + } + } + } + } +} + |