*/
enum {
ITEM_STYLE_DEFAULT = 0,/**< "default" style.*/
- ITEM_STYLE_TYPE_ONE, /**< "type1" style. */
+ ITEM_STYLE_TYPE_ONE, /**< "1line" style. */
ITEM_STYLE_ONE_ICON, /**< "one_icon" style. */
ITEM_STYLE_RADIO, /**< "radio" style.*/
};
#define POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC 0 98
#define POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC 50 50
collections {
- base_scale: 2.6;
+ base_scale: 1.8;
group { name: "popup_checkview_layout";
parts {
part { name: "bg";
* limitations under the License.
*/
collections {
- base_scale: 2.6;
+ base_scale: 1.8;
group { name: "weekly_item";
parts {
part { name: "base";
}
}
}
-}
\ No newline at end of file
+}
#define SELECT_BUTTON_W 200
#define GRID_PAD_H 15
collections {
- base_scale: 2.6;
+ base_scale: 1.8;
styles {
style { name: "text_style";
base: "font=Samsungcondenced:style=Regular font_size=30 text_class=tizen align=center valign=top color=#000000 ellipsis=-1 wrap=mixed";
* limitations under the License.
*/
collections {
- base_scale: 2.6;
+ base_scale: 1.8;
group { name: "button_layout";
parts {
part { name: "base";
/* genlist */
genlist = elm_genlist_add(box);
- itc.item_style = "type1";
+ itc.item_style = "1line";
itc.func.text_get = gl_text_get_cb;
itc.func.content_get = NULL;
itc.func.state_get = NULL;
switch (item) {
case APP_DETAILS_ALLOW_NOTI:
- if (!strcmp(part, "elm.swallow.end")) {
+ if (!strcmp(part, "elm.icon")) {
check = create_check(obj, "on&off");
elm_check_state_set(check, allow_noti_status_get());
evas_object_smart_callback_add(check, "changed", allow_noti_check_changed_cb, NULL);
}
break;
case APP_DETAILS_POPUP_NOTI:
- if (!strcmp(part, "elm.swallow.end")) {
+ if (!strcmp(part, "elm.icon")) {
check = create_check(obj, "on&off");
elm_check_state_set(check, popup_noti_status_get());
evas_object_smart_callback_add(check, "changed", popup_noti_check_changed_cb, NULL);
}
break;
case APP_DETAILS_APP_BADGE:
- if (!strcmp(part, "elm.swallow.end")) {
+ if (!strcmp(part, "elm.icon")) {
check = create_check(obj, "on&off");
elm_check_state_set(check, app_badge_status_get());
evas_object_smart_callback_add(check, "changed", app_badge_check_changed_cb, NULL);
Evas_Object *radio = elm_radio_add(genlist);
evas_object_data_set(genlist, "radio", radio);
- itc.item_style = "type1";
+ itc.item_style = "1line";
itc.func.text_get = gl_text_get_cb;
itc.func.content_get = gl_content_get_cb;
itc.func.state_get = NULL;
evas_object_size_hint_weight_set(genlist, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(genlist, EVAS_HINT_FILL, EVAS_HINT_FILL);
- app_details_gl_append(genlist, "type1", APP_DETAILS_ALLOW_NOTI);
+ app_details_gl_append(genlist, "1line", APP_DETAILS_ALLOW_NOTI);
app_details_gl_append(genlist, "group_index", APP_DETAILS_GROUP_INDEX);
app_details_gl_append(genlist, "multiline", APP_DETAILS_POPUP_NOTI);
- app_details_gl_append(genlist, "type1", APP_DETAILS_APP_BADGE);
- app_details_gl_append(genlist, "type1", APP_DETAILS_NOTI_ON_LOCK);
+ app_details_gl_append(genlist, "1line", APP_DETAILS_APP_BADGE);
+ app_details_gl_append(genlist, "1line", APP_DETAILS_NOTI_ON_LOCK);
Elm_Object_Item *navi_item = elm_naviframe_item_push(data->naviframe, g_app_info->name, back_btn, NULL, genlist, NULL);
elm_naviframe_item_pop_cb_set(navi_item, app_details_pop_cb, NULL);
}
}
- if (!strcmp(part, "elm.swallow.end")) {
+ if (!strcmp(part, "elm.icon")) {
if (data_list->item_style == ITEM_STYLE_TYPE_ONE) {
return NULL;
} else if (data_list->item_style == ITEM_STYLE_DEFAULT) {
ret_if(!itc);
if (style == ITEM_STYLE_TYPE_ONE) {
- itc->item_style = "type1";
+ itc->item_style = "1line";
} else if (style == ITEM_STYLE_ONE_ICON) {
itc->item_style = "one_icon";
} else {
- itc->item_style = "default";
+ itc->item_style = "1line";
}
itc->func.text_get = gl_text_get_cb;
itc->func.content_get = gl_content_get_cb;
retv_if(!data, NULL);
if (!strcmp(data, "do-not-disturb")) {
if (!strcmp("elm.text.multiline", part)) {
- snprintf(buf, sizeof(buf), "<font_size=30>%s</font_size>", APP_STRING("IDS_ST_BODY_MUTE_ALL_ALERTS_AND_ONLY_SHOW_NOTIFICATIONS_IN_THE_NOTIFICATION_PANEL_ADD_APPS_BELOW_TO_ALLOW_EXCEPTIONS"));
+ snprintf(buf, sizeof(buf), "<font_size=20>%s</font_size>", APP_STRING("IDS_ST_BODY_MUTE_ALL_ALERTS_AND_ONLY_SHOW_NOTIFICATIONS_IN_THE_NOTIFICATION_PANEL_ADD_APPS_BELOW_TO_ALLOW_EXCEPTIONS"));
return strdup(buf);
}
struct tm end_time;
load_dnd_schedule_time(&start_time, &end_time);
- snprintf(buf, sizeof(buf), "<font_size=30>%s<br/>%s</font_size>",
+ snprintf(buf, sizeof(buf), "<font_size=22>%s<br/>%s</font_size>",
get_day_string(dndSchedule), get_time_string(&start_time, &end_time));
} else
- snprintf(buf, sizeof(buf), "<font_size=30>%s</font_size>", APP_STRING("WDS_ST_ACBUTTON_OFF_ABB2"));
+ snprintf(buf, sizeof(buf), "<font_size=22>%s</font_size>", APP_STRING("WDS_ST_ACBUTTON_OFF_ABB2"));
return strdup(buf);
}
return strdup(APP_STRING("IDS_ST_SBODY_NEXT_DAY_M_LC_ABB"));
} else if (!strcmp(data, "allowed-calls")) {
if (!strcmp("elm.text.multiline", part)) {
- snprintf(buf, sizeof(buf), "<font_size=30>%s</font_size>", APP_STRING(get_allowed_calls_string()));
+ snprintf(buf, sizeof(buf), "<font_size=20>%s</font_size>", APP_STRING(get_allowed_calls_string()));
return strdup(buf);
}
if (!strcmp("elm.text", part)) {
{
retv_if(!data, NULL);
- if (!strcmp(data, "do-not-disturb") && !strcmp(part, "elm.swallow.end")) {
+ if (!strcmp(data, "do-not-disturb") && !strcmp(part, "elm.icon")) {
Evas_Object *check = NULL;
check = create_check(obj, "on&off");
elm_check_state_set(check, get_do_not_disturb());
return check;
}
- if (!strcmp(data, "set-schedule") && !strcmp("elm.swallow.end", part)) {
+ if (!strcmp(data, "set-schedule") && !strcmp(part, "elm.icon")) {
Evas_Object *check = create_check(obj, "on&off");
elm_check_state_set(check, get_schedule());
evas_object_smart_callback_add(check, "changed", set_schedule_check_changed_cb, NULL);
return check;
}
- if (!strcmp(data, "start-time") && !strcmp("elm.swallow.end", part)) {
+ if (!strcmp(data, "start-time") && !strcmp(part, "elm.icon")) {
return start_end_time_item(obj, true);
}
- if (!strcmp(data, "end-time") && !strcmp("elm.swallow.end", part)) {
+ if (!strcmp(data, "end-time") && !strcmp(part, "elm.icon")) {
return start_end_time_item(obj, false);
}
/* Title Done Button */
done_btn = elm_button_add(u_data->naviframe);
- elm_object_style_set(done_btn, "naviframe/title_right");
+ elm_object_style_set(done_btn, "naviframe/end_btn/default");
evas_object_smart_callback_add(done_btn, "clicked", _done_button_cb, u_data);
elm_object_text_set(done_btn, APP_STRING("IDS_TPLATFORM_ACBUTTON_DONE_ABB"));
- elm_object_item_part_content_set(navi_item, "title_right_btn", done_btn);
+ elm_object_item_part_content_set(navi_item, "elm.swallow.prev_btn", done_btn);
u_data->done_button = done_btn;
}
if (genlist_item)
elm_genlist_clear(ugd->list_sub);
g_lock_screen_content_level = SHOW_ALL_CONTENT;
- append_gl_start_option(ugd->list_sub, "type1", "show-all-content");
+ append_gl_start_option(ugd->list_sub, "1line", "show-all-content");
}
if (genlist_item)
elm_genlist_clear(ugd->list_sub);
g_lock_screen_content_level = HIDE_SENSITIVE_CONTENT;
- append_gl_start_option(ugd->list_sub, "type1", "hide-sensitive-content");
+ append_gl_start_option(ugd->list_sub, "1line", "hide-sensitive-content");
}
void do_not_show_notifications_clicked()
/* Push to naviframe */
ugd->list_sub = _create_set_schedule_disturb_gl(ugd);
- append_gl_start_option(ugd->list_sub, "type1", "set-schedule");
+ append_gl_start_option(ugd->list_sub, "1line", "set-schedule");
append_gl_full_item(ugd->list_sub, repeat_weekly_layout_cb, NULL);
- append_gl_start_option(ugd->list_sub, "type1", "start-time");
- append_gl_start_option(ugd->list_sub, "type1", "end-time");
+ append_gl_start_option(ugd->list_sub, "1line", "start-time");
+ append_gl_start_option(ugd->list_sub, "1line", "end-time");
ugd->navi_item = elm_naviframe_item_push(ugd->naviframe, APP_STRING("IDS_ST_MBODY_SET_SCHEDULE_M_TIME"), back_btn, NULL, ugd->list_sub, NULL);
enable_time_items(get_schedule());
}