Implement OOBE view #5 50/213450/2
authorSeonah Moon <seonah1.moon@samsung.com>
Thu, 5 Sep 2019 10:08:33 +0000 (19:08 +0900)
committercheoleun moon <chleun.moon@samsung.com>
Fri, 6 Sep 2019 04:28:00 +0000 (04:28 +0000)
- Change background color of genlist
- Disable select mode for first genlist item

Change-Id: I007d45d4c3235f2d9919f652d65af7987fcb3be1

sources/ui-gadget/viewers-layout/viewer_manager.c
sources/ui-gadget/viewers-layout/wifi_viewer_list.c

index 12f9d98..f7004a7 100755 (executable)
@@ -788,6 +788,7 @@ static void __viewer_manager_wifi_onoff_item_create(Evas_Object* genlist, int ug
                        &wifi_onoff_itc, (void *)ug_type, NULL, ELM_GENLIST_ITEM_NONE,
                        NULL, NULL);
 
+       elm_genlist_item_select_mode_set(manager_object->item_wifi_onoff, ELM_OBJECT_SELECT_MODE_NONE);
        __COMMON_FUNC_EXIT__;
 }
 
index 1507daa..ae0cec6 100755 (executable)
@@ -964,6 +964,11 @@ Evas_Object* viewer_list_create(Evas_Object *win)
        viewer_list = elm_genlist_add(win);
        assertm_if(NULL == viewer_list, "NULL!!");
 
+       if (wifi_get_ug_type() == UG_VIEW_OOBE) {
+               elm_object_style_set(viewer_list, "solid/default");
+               elm_object_color_class_color_set(viewer_list, "bg", 255, 255, 255, 255);
+       }
+
        // To use multiline textblock/entry/editfield in genlist, set height_for_width mode
        // then the item's height is calculated while the item's width fits to genlist width.
        elm_genlist_mode_set(viewer_list, ELM_LIST_COMPRESS);