images {
image: "camera_btn_gallery_mask.png" COMP;
image: "telegram_date_divider.#.png" COMP;
+ image: "telegram_list_thumb_image_bg.png" COMP;
}
group {
precise_is_inside: 1;
description {
state: default 0.0;
- rel1.relative: 0.0 0.05;
- rel2.relative: 1.0 0.95;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
color: 250 250 250 0;
}
}
precise_is_inside: 1;
description {
state: default 0.0;
- rel1.relative: 0.0 0.05;
- rel2.relative: 1.0 0.95;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
image.normal: camera_btn_gallery_mask.png;
}
}
part {
name: content_bg;
- type: RECT;
+ type: IMAGE;
clip_to: masking;
description {
state: default 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
- color: 45 165 224 255;
+ image.normal: "telegram_list_thumb_image_bg.png";
+ color: 250 250 250 255;
}
}
part {
}
part {
name: content_bg;
- type: RECT;
+ type: IMAGE;
clip_to: masking;
description {
state: default 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
- color: 250 250 250 0;
+ image.normal: "telegram_list_thumb_image_bg.png";
+ color: 250 250 250 255;
}
}
part {
static void on_secret_chat_clicked(void *data, Evas_Object *obj, void *event_info);
static _command_item_info contact_screen_command_item_list[COMMAND_MENU_ITEM_COUNT] = {
- {"invites friends", TELEGRAM_BUTTON_ADD_ICON, on_invite_friends_clicked, NULL},
- {"group chat", DEFAULT_LIST_THUMB_MULTI_PIC, on_group_chat_clicked, NULL},
+ {"IDS_TGRAM_MBODY_INVITE_FRIENDS", TELEGRAM_CONTACT_ADD_ICON, on_invite_friends_clicked, NULL},
+ {"IDS_TGRAM_MBODY_GROUP_CHAT", DEFAULT_LIST_THUMB_MULTI_PIC, on_group_chat_clicked, NULL},
/*{"secret chat", "telegram_list_thumb_image_secrete.png", on_secret_chat_clicked, NULL},*/
};
if (!strcmp(part,"elm.text.main.left.top") || !strcmp(part,"elm.text")){
char buf[512] = {'\0'};
- snprintf(buf, 512, "<align=left><font_size=45><color=#1776D2>%s</color></font_size></align>", contact_screen_command_item_list[row].string);
+ snprintf(buf, 512, "<align=left><font_size=45><color=#1776D2>%s</color></font_size></align>", _(contact_screen_command_item_list[row].string));
return strdup(buf);
}
Evas_Object *profile_pic = NULL;
profile_pic = create_image_object_from_file(ui_utils_get_resource(contact_screen_command_item_list[row].image_path), obj);
- //evas_object_color_set(profile_pic, 45, 165, 224, 255);
+ evas_object_color_set(profile_pic, 45, 165, 224, 255);
char edj_path[PATH_MAX] = {0, };
app_get_resource(TELEGRAM_INIT_VIEW_EDJ, edj_path, (int)PATH_MAX);
if (user->photo_path && strcmp(user->photo_path, "") != 0) {
profile_pic = create_image_object_from_file(user->photo_path, obj);
} else {
+
profile_pic = create_image_object_from_file(ui_utils_get_resource(DEFAULT_LIST_THUMB_SINGLE_PIC), obj);
evas_object_color_set(profile_pic, 45, 165, 224, 255);
}