r = __pSearchBar->SetContentAreaSize(Dimension(__pSearchListView->GetWidth(), __pSearchListView->GetHeight()));
__pSearchBar->SetText(L"");
}
- AppLog("OnSearchBarModeChanged SetContentAreaSize heihgt %d, %d",__pSearchListView->GetHeight() , GetClientAreaBounds().height - __pSearchBar->GetHeight());
__pListview->UpdateList();
__pSearchListView->UpdateList();
}
BookmarkListForm::OnOrientationChanged (const Tizen::Ui::Control &source, Tizen::Ui::OrientationStatus orientationStatus)
{
AppLog("BookmarkListForm::OnOrientationChanged start");
- __pListview->SetBackgroundColor(GetBackgroundColor());
- __pSearchListView->SetBackgroundColor(GetBackgroundColor());
+ if (__pListview)
+ {
+ __pListview->SetBackgroundColor(GetBackgroundColor());
+ }
+ if (__pSearchListView)
+ {
+ __pSearchListView->SetBackgroundColor(GetBackgroundColor());
+ }
if (__pListview)
{
if(__pSearchBar->GetShowState())
{
__pListview->SetBounds(__pListview->GetX(),0,GetClientAreaBounds().width ,GetClientAreaBounds().height);
}
- __pListview->UpdateList();
}
if (__pSearchListView && __pListview)