to, "contents";
relative, 0.5 0.5;
}
- min, 1036 552;
+ min, 1036 452;
fixed, 1 1;
}
}
scale, 1;
description {
state, "default" 0.0;
- min, 1036 552;
+ min, 1036 452;
visible, 0;
}
}
}
}
part {
- name, "pad.account";
+ name, "pad.lock";
type, RECT;
scale, 1;
description {
}
}
part {
- name, "account";
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "pad.account";
- relative, 1.0 1.0;
- }
- rel2.to, "pad.account";
- min, 436 32;
- fixed, 1 1;
- align, 0.0 0.0;
- text {
- font, "TizenSans";
- size, 32;
- text, "Account";
- align, 0.0 0.5;
- }
- color, 77 77 77 255;
- }
- }
- part {
- name, "pad.account.down";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "account";
- relative, 0.0 1.0;
- }
- rel2 {
- to, "account";
- relative, 0.0 1.0;
- }
- min, 0 22;
- fixed, 1 1;
- align, 0.0 0.0;
- visible, 0;
- }
- }
- part {
- name, PART_USER_EDIT_CONTENTS_ACCOUNT;
- type, SWALLOW;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "pad.account.down";
- relative, 1.0 1.0;
- }
- rel2.to, "pad.account.down";
- min, 436 64;
- fixed, 1 1;
- align, 0.0 0.0;
- }
- }
- part {
- name, "pad.lock";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, PART_USER_EDIT_CONTENTS_ACCOUNT;
- relative, 0.0 1.0;
- }
- rel2 {
- to, PART_USER_EDIT_CONTENTS_ACCOUNT;
- relative, 0.0 1.0;
- }
- min, 0 32;
- fixed, 1 1;
- align, 0.0 0.0;
- visible, 0;
- }
- }
- part {
name, "lock";
type, TEXT;
scale, 1;
#define PART_USER_EDIT_CONTENTS_PHOTO "part.user.edit.contents.photo"
#define PART_USER_EDIT_CONTENTS_NAME "part.user.edit.contents.name"
#define PART_USER_EDIT_CONTENTS_PIN "part.user.edit.contents.pin"
-#define PART_USER_EDIT_CONTENTS_ACCOUNT "part.user.edit.contents.account"
#define PART_USER_EDIT_CONTENTS_LOCK "part.user.edit.contents.lock"
#define PART_USER_EDIT_CONTENTS_DELETE "part.user.edit.contents.delete"
#define PART_USER_EDIT_PHOTO "part.user.edit.photo"
#define MESSAGE_DELETE_CONTENTS "If you delete this user, their data will also be deleted."
#define MESSAGE_ENTRY_NAME "User Name"
-#define MESSAGE_ENTRY_ACCOUNT "sample@tizen.com"
#define MESSAGE_ENTRY_PIN "Pin code"
#define KEY_ICON "icon"
#define KEY_FOCUS_ICON "focusicon"
Evas_Object *ly;
Evas_Object *photo;
Evas_Object *name;
- Evas_Object *account;
Evas_Object *pin;
Evas_Object *lock;
Evas_Object *icon;
static Evas_Object *_add_layout(struct _priv *priv)
{
- Evas_Object *ly, *photo, *name, *pin, *account, *lock;
+ Evas_Object *ly, *photo, *name, *pin, *lock;
ly = utils_add_layout(priv->base, GRP_USER_EDIT_CONTENTS, false,
PART_USER_EDIT_CONTENTS);
if (!pin)
goto err;
- account = utils_add_entry(ly, MESSAGE_ENTRY_ACCOUNT, false,
- PART_USER_EDIT_CONTENTS_ACCOUNT);
- if (!account)
- goto err;
-
lock = utils_add_layout(ly, GRP_USER_EDIT_SWITCH, true,
PART_USER_EDIT_CONTENTS_LOCK);
if (!lock)
priv->photo = photo;
priv->name = name;
- priv->account = account;
priv->pin = pin;
return ly;