summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorJehun Lim <jehun.lim@samsung.com>2015-08-26 11:36:10 +0900
committerJehun Lim <jehun.lim@samsung.com>2015-08-26 16:31:46 +0900
commit596d2e1a64ac037c78387b9778dca83685bfe083 (patch)
tree6f39b22e554f736e674bfeac65d98b7d805e68ac /res
parent9b868fbc021126fb22001f1fe3ac98c7b02d103b (diff)
downloadair_mediahub-596d2e1a64ac037c78387b9778dca83685bfe083.tar.gz
air_mediahub-596d2e1a64ac037c78387b9778dca83685bfe083.tar.bz2
air_mediahub-596d2e1a64ac037c78387b9778dca83685bfe083.zip
base: add notify to inform of updating favorite value
Change-Id: Ie2618c02913ccf5b52bdf5d570c90ca152b2b592 Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
Diffstat (limited to 'res')
-rw-r--r--res/edc/mediahub-theme.edc1
-rw-r--r--res/edc/widgets/notify.edc160
2 files changed, 161 insertions, 0 deletions
diff --git a/res/edc/mediahub-theme.edc b/res/edc/mediahub-theme.edc
index f1981b6..e74c2b6 100644
--- a/res/edc/mediahub-theme.edc
+++ b/res/edc/mediahub-theme.edc
@@ -20,5 +20,6 @@ collections {
#include "widgets/button.edc"
#include "widgets/gengrid.edc"
#include "widgets/genlist.edc"
+ #include "widgets/notify.edc"
#include "widgets/slider.edc"
}
diff --git a/res/edc/widgets/notify.edc b/res/edc/widgets/notify.edc
new file mode 100644
index 0000000..20bf305
--- /dev/null
+++ b/res/edc/widgets/notify.edc
@@ -0,0 +1,160 @@
+/*
+ * 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: "elm/notify/bottom_left/base_toast_favorite";
+ parts {
+ part {
+ name: "padding.bottom.left";
+ type: SPACER;
+ scale: 1;
+ 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: "base";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "padding.bottom.left";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "padding.bottom.left";
+ relative: 1.0 0.0;
+ }
+ min: 536 70;
+ align: 0.0 1.0;
+ color: COLOR_ITEM_BG;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "border_top";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "base";
+ rel2 {
+ to: "base";
+ relative: 1.0 0.0;
+ }
+ min: 0 1;
+ align: 0.5 0.0;
+ color: COLOR_ITEM_BORDER;
+ fixed: 0 1;
+ }
+ }
+ part {
+ name: "border_left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "border_top";
+ relative: 0.0 1.0;
+ }
+ rel2 {
+ to: "base";
+ relative: 0.0 1.0;
+ }
+ min: 1 0;
+ align: 0.0 0.5;
+ color: COLOR_ITEM_BORDER;
+ fixed: 1 0;
+ }
+ }
+ part {
+ name: "border_right";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "border_top";
+ relative: 1.0 1.0;
+ }
+ rel2 {
+ to: "base";
+ relative: 1.0 1.0;
+ }
+ min: 1 0;
+ align: 1.0 0.5;
+ color: COLOR_ITEM_BORDER;
+ fixed: 1 0;
+ }
+ }
+ part {
+ name: "border_bottom";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "border_left";
+ relative: 1.0 1.0;
+ }
+ rel2 {
+ to: "border_right";
+ relative: 0.0 1.0;
+ }
+ min: 0 1;
+ align: 0.5 1.0;
+ color: COLOR_ITEM_BORDER;
+ fixed: 0 1;
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
+ }
+}
+
+group {
+ name: "elm/label/base/base_toast_favorite";
+ parts {
+ part {
+ name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ text {
+ font: FONT_LIGHT;
+ size: 28;
+ align: 0.5 0.5;
+ }
+ color: COLOR_TEXT_TITLE;
+ }
+ }
+ }
+}