#define PART_SORT "part.sort"
#define PART_GENGRID "part.gengrid"
#define PART_APP_COUNT "part.app.count"
+#define PART_NO_CONTENTS "part.no.contents"
/* Style */
#define STYLE_MENU_BTN "style.menu.button"
#define STR_MYAPPS "My Apps"
#define STR_APPSTORE "App Store"
#define STR_NULL "(NULL)"
+#define STR_NO_CONTENTS "No Contents"
/* Count */
#define MENU_COUNT 2
}
}
}
+
+ part {
+ name, "padding.no.contents1";
+ type, SPACER;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 0 318;
+ rel2.relative, 0.0 0.0;
+ align, 0.5 0.0;
+ fixed, 0 1;
+ }
+ }
+
+ part {
+ name, "padding.no.contents2";
+ type, SPACER;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 0 148;
+ rel1.relative, 1.0 1.0;
+ align, 0.5 1.0;
+ fixed, 0 1;
+ }
+ }
+
+ part {
+ name, PART_NO_CONTENTS;
+ type, TEXT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ color, 0 0 0 178;
+ rel1 {
+ to, "padding.no.contents1";
+ relative, 1.0 1.0;
+ }
+ rel2 {
+ to, "padding.no.contents2";
+ relative, 0.0 0.0;
+ }
+ text {
+ font, FONT_TIZENSANS_LIGHT;
+ size, 32;
+ align, 0.5 0.5;
+ }
+ }
+ }
}
}
priv->app_list = get_app_list();
if (!priv->app_list) {
- /* 'No contents' should be displayed. */
+ elm_object_part_text_set(priv->base, PART_NO_CONTENTS,
+ STR_NO_CONTENTS);
return true;
}