summaryrefslogtreecommitdiff
path: root/main/layout/ivug-name-view.edc
diff options
context:
space:
mode:
Diffstat (limited to 'main/layout/ivug-name-view.edc')
-rwxr-xr-xmain/layout/ivug-name-view.edc96
1 files changed, 96 insertions, 0 deletions
diff --git a/main/layout/ivug-name-view.edc b/main/layout/ivug-name-view.edc
new file mode 100755
index 0000000..3bc8b91
--- /dev/null
+++ b/main/layout/ivug-name-view.edc
@@ -0,0 +1,96 @@
+/*
+ * Copyright 2012 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://www.tizenopensource.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.
+ */
+
+#define NAME_ENTRY_MIN_W_INC 1280
+#define NAME_ENTRY_BG_MIN_H_INC 112
+#define NAME_ENTRY_MIN_H_INC 48
+
+#define NAME_ENTRY_BOTTOM_LINE_COLOR_INC 82 82 82 255
+
+#define NAME_ENTRY_PART_OFFSET 16
+
+collections {
+
+ group {
+ name: "name_view";
+ parts{
+ part {
+ name: "name_view.swallow.bg";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale:1;
+
+ description {
+ state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part {
+ name: "bg_entry";
+ type: RECT;
+ mouse_events: 0;
+ scale:1;
+
+ description {
+ state: "default" 0.0;
+ min: 0 NAME_ENTRY_BG_MIN_H_INC;
+ max: NAME_ENTRY_MIN_W_INC NAME_ENTRY_BG_MIN_H_INC;
+ fixed:1 1;
+ rel1 { relative: 0.0 0.0; to: "name_view.swallow.bg";}
+ rel2 { relative: 1.0 0.0; to: "name_view.swallow.bg"; offset: 0 64;}
+ color: 0 0 0 0; //Fixme, set bg transparent.
+ //color: 255 255 255 255;
+ align: 0 0;
+ }
+ }
+ part {
+ name: "bottom_line";
+ type: RECT;
+ mouse_events: 0;
+ scale:1;
+
+ description {
+ min : 0 1; //minimum size for gap filler
+ fixed: 1 1;
+ state: "default" 0.0;
+ rel1 { relative: 0.0 1.0; to: "bg_entry";}
+ rel2 { relative: 1.0 1.0; to: "bg_entry"; offset: 0 1;}
+ color: NAME_ENTRY_BOTTOM_LINE_COLOR_INC;
+ align: 0 0;
+ }
+ }
+ part {
+ name: "entry_part";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale:1;
+
+ description {
+ min : 0 NAME_ENTRY_MIN_H_INC; //minimum size for gap filler
+ max: NAME_ENTRY_MIN_W_INC NAME_ENTRY_MIN_H_INC;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to: "bg_entry"; offset: NAME_ENTRY_PART_OFFSET 0;}
+ rel2 { relative: 1.0 1.0; to: "bg_entry"; offset: -NAME_ENTRY_PART_OFFSET 0;}
+ align: 0 0;
+ }
+ }
+ }
+ }
+}
+