#include "groups/setting_indicator.edc"
group { name: "scroller_custom_layout";
+ styles{
+ style { name: "selected_clock_style";
+ base: "font=Tizen:style=Regular font_size="25" align=center color=""#FFFFFF"" wtext_class=tizen";
+ tag: "br" "\n";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "b" "+ font_weight=Bold";
+ tag: "tab" "\t";
+ }
+ }
parts {
part { name: "bg";
type: RECT;
color: 0 0 0 0;
}
}
+ part { name: "clock.text22";
+ type: TEXTBLOCK;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0 0;
+ }
+ rel2 {
+ relative: 1 0.1;
+ }
+ text {
+ style: "selected_clock_style";
+ align: 0.5 0.5;
+ }
+ }
+ }
+
part { name: "scroller";
type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
rel1 {
- relative: 0.0 0.0;
+ relative: 0.0 0.1;
to: "bg";
}
rel2 {
/*elm_layout_file_set(layout, EDJE_PATH, "setting-test/index"); */
elm_layout_file_set(layout, EDJE_PATH, "scroller_custom_layout");
evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ elm_object_part_text_set(layout, "clock.text22", _get_selected_clock()->name);
+
evas_object_show(layout);
evas_object_event_callback_add(layout, EVAS_CALLBACK_DEL, _layout_del_cb, pd);
elm_layout_file_set(clock_layout, EDJE_PATH, "setting-test/clock-type");
evas_object_size_hint_weight_set(clock_layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(clock_layout, EVAS_HINT_FILL, EVAS_HINT_FILL);
+
evas_object_show(clock_layout);
/*clock bg wallpaper */