summaryrefslogtreecommitdiff
path: root/main-app/res/edje/contacts/genlist_extended_item.edc
diff options
context:
space:
mode:
Diffstat (limited to 'main-app/res/edje/contacts/genlist_extended_item.edc')
-rwxr-xr-xmain-app/res/edje/contacts/genlist_extended_item.edc188
1 files changed, 188 insertions, 0 deletions
diff --git a/main-app/res/edje/contacts/genlist_extended_item.edc b/main-app/res/edje/contacts/genlist_extended_item.edc
new file mode 100755
index 0000000..cbeccbe
--- /dev/null
+++ b/main-app/res/edje/contacts/genlist_extended_item.edc
@@ -0,0 +1,188 @@
+/*
+ * Copyright (c) 2009-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.
+ *
+ */
+
+#include "genlist_macro.edc"
+#include "WVGA-inc.edc"
+
+#define SEARCH_BAR_H 80
+#define SEARCH_BAR_W 480
+#define SEARCH_HEIGHT 130
+
+#define LIST_GROUP_TITLE_HEIGHT 56
+#ifdef _HD_
+#define LIST_GROUP_VIEW_HEIGHT 1014
+//#define LIST_GROUP_NORESULT_HEIGHT 776
+#else
+#define LIST_GROUP_VIEW_HEIGHT 596
+//#define LIST_GROUP_NORESULT_HEIGHT 636
+#endif
+#define LIST_NORESULT_TEXT_HEIGHT 38
+
+#define PADDING_LEFT( param_padding_size ) \
+ part { \
+ name: "padding.left"; \
+ type: SPACER; \
+ scale: 1; \
+ description { \
+ state: "default" 0.0; \
+ min: param_padding_size 0; \
+ max: param_padding_size -1; \
+ fixed: 1 0; \
+ rel2.relative: 0.0 1.0; \
+ align: 0.0 0.5; \
+ } \
+ }
+
+#define PADDING_RIGHT( param_padding_size ) \
+ part { \
+ name: "padding.right"; \
+ type: SPACER; \
+ scale: 1; \
+ description { \
+ state: "default" 0.0; \
+ min: param_padding_size 0; \
+ max: param_padding_size -1; \
+ fixed: 1 0; \
+ rel1.relative: 1.0 0.0; \
+ align: 1.0 0.5; \
+ } \
+ }
+
+#define IMAGE_PATH "./contacts/images/WVGA/contact_edc_images/"
+
+images {
+ image: IMAGE_PATH"core_pattern_empty_bg.png" COMP;
+}
+collections
+{
+ base_scale: 2.6;
+ group {
+ name: "elm/genlist/item/default.center/default";
+ data.item: "texts" "elm.text";
+ data.item: "bg_color" "B0211";
+
+ parts {
+ PART(RECT, "bg",
+ description {
+ state: "default" 0.0;
+ min: 0 LIST_ITEM_HEIGHT;
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ }
+ description {
+ state: "disabled" 0.0;
+ }
+ )
+ PART(SPACER, "elm.padding.left",
+ DSC_FROM_L("default" 0.0,
+ min: LIST_PADDING_DEFAULT_SIZE 0;
+ max: LIST_PADDING_DEFAULT_SIZE -1;
+ )
+ )
+ PART(SPACER, "elm.padding.right",
+ DSC_FROM_R("default" 0.0,
+ min: LIST_PADDING_DEFAULT_SIZE 0;
+ max: LIST_PADDING_DEFAULT_SIZE -1;
+ )
+ )
+ PART(SPACER, "elm.padding.top",
+ DSC_FROM_T("default" 0.0,
+ min: 0 LIST_ENTRY_PADDING_TOP_SIZE;
+ max: -1 LIST_ENTRY_PADDING_TOP_SIZE;
+ )
+ )
+ PART(SPACER, "elm.padding.bottom",
+ DSC_FROM_B("default" 0.0,
+ min: 0 LIST_ENTRY_PADDING_BOTTOM_SIZE;
+ max: -1 LIST_ENTRY_PADDING_BOTTOM_SIZE;
+ )
+ )
+ PART(TEXTBLOCK, "elm.text",
+ DSC_LRTB("default" 0.0,
+ "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
+ min: 0 LIST_TEXT_MAIN_HEIGHT;
+ fixed: 1 0;
+
+ text.min: 0 1;
+ text.style: "gal_search_more_textblock_style";
+ )
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ text.style: "gal_search_more_textblock_style_press";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text.style: "gal_search_more_textblock_style_dim";
+ }
+ )
+ }
+ LIST_PROGRAMS(target: "elm.text";)
+ }
+ group {
+ name: "elm/genlist/item/default.center.1/default";
+ data.item: "contents" "elm.icon.1";
+ data.item: "bg_color" "B0211";
+
+ parts {
+ PART(RECT, "bg",
+ description {
+ state: "default" 0.0;
+ min: 0 LIST_ITEM_HEIGHT;
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ }
+ description {
+ state: "disabled" 0.0;
+ }
+ )
+ PART(SPACER, "elm.padding.left",
+ DSC_FROM_L("default" 0.0,
+ min: LIST_PADDING_DEFAULT_SIZE 0;
+ max: LIST_PADDING_DEFAULT_SIZE -1;
+ )
+ )
+ PART(SPACER, "elm.padding.right",
+ DSC_FROM_R("default" 0.0,
+ min: LIST_PADDING_DEFAULT_SIZE 0;
+ max: LIST_PADDING_DEFAULT_SIZE -1;
+ )
+ )
+ PART(SPACER, "elm.padding.top",
+ DSC_FROM_T("default" 0.0,
+ min: 0 LIST_ENTRY_PADDING_TOP_SIZE;
+ max: -1 LIST_ENTRY_PADDING_TOP_SIZE;
+ )
+ )
+ PART(SPACER, "elm.padding.bottom",
+ DSC_FROM_B("default" 0.0,
+ min: 0 LIST_ENTRY_PADDING_BOTTOM_SIZE;
+ max: -1 LIST_ENTRY_PADDING_BOTTOM_SIZE;
+ )
+ )
+ PART(SWALLOW, "elm.icon.1",
+ DSC_LRTB("default" 0.0,
+ "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
+ align: 0.5 0.5;
+ )
+ )
+ }
+ }
+ }//end collections