style { name: "check_text_in_password_layout";
base: "font=Tizen:style=Regular font_size=37 align=left color=#FFFFFF color_class=AT014 text_class=AT014";
}
+ style { name: "progressbar_layout_style";
+ base: "font=Tizen:style=Regular font_size=32 color=#F9F9F9FF align=center ellipsis=1.0 text_class=label";
+ }
+
}
group {
name: "ap_signal_image_layout";
}
part {
name: "elm.text.progressbar";
- type: SWALLOW;
+ type: TEXTBLOCK;
scale: 1;
description {
state: "default" 0.0;
fixed: 1 1;
- align: 0.5 0.0;
rel1 {
- relative: -0.7 0.8;
- to_x: "content_bg";
- to_y: "content_bg";
- }
- rel2 {
relative: 0.0 1.0;
- to_x: "right_padding";
+ to_x: "base";
to_y: "middle_padding";
}
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "base";
+ to_y: "bottom_padding";
+ }
+ text {
+ style: "progressbar_layout_style";
+ min: 1 1;
+ }
+ }
+ }
+ part {
+ name: "bottom_padding";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 88;
+ rel1.to: "base";
+ rel1.relative: 0.0 1.0;
+ align: 0.5 1.0;
+ fixed: 0 1;
}
}
}
return popup;
}
-static Evas_Object *_create_scanning_label(Evas_Object *parent)
-{
- Evas_Object *label = elm_label_add(parent);
- WIFI_RET_VAL_IF_FAIL(label, NULL);
-
- elm_object_style_set(label, "popup/default");
- elm_label_line_wrap_set(label, ELM_WRAP_MIXED);
- elm_object_text_set(label, STR_SCANNING);
-
- return label;
-}
-
static Evas_Object *_create_scanning_progressbar(Evas_Object *parent)
{
Evas_Object *progressbar = NULL;
WIFI_LOG_ERR("progressbar create is failed.");
return NULL;
}
- elm_object_style_set(progressbar, "process/small");
+ elm_object_style_set(progressbar, "process/popup/small");
evas_object_size_hint_align_set(progressbar, EVAS_HINT_FILL, 0.5);
evas_object_size_hint_weight_set(progressbar, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_progressbar_pulse(progressbar, EINA_TRUE);
static Evas_Object *_create_scanning(popup_scanning_object *self, Evas_Object *parent)
{
Evas_Object *scanning;
- Evas_Object *scanning_label;
Evas_Object *scanning_progressbar;
scanning = create_layout_use_edj_file(parent, CUSTOM_GROUP_SCANNING);
return NULL;
}
- scanning_label = _create_scanning_label(scanning);
- if (!scanning_label) {
- WIFI_LOG_ERR("_create_scanning_label is failed.");
- evas_object_del(scanning);
- return NULL;
- }
- elm_object_part_content_set(scanning, "elm.text.progressbar", scanning_label);
-
scanning_progressbar = _create_scanning_progressbar(scanning);
if (!scanning_progressbar) {
WIFI_LOG_ERR("_create_scanning_progressbar is failed.");
- evas_object_del(scanning_label);
evas_object_del(scanning);
return NULL;
}
elm_object_part_content_set(scanning, "elm.swallow.content", scanning_progressbar);
+ elm_object_part_text_set(scanning, "elm.text.progressbar", STR_SCANNING);
return scanning;
}