__pItemContextFolder->Construct();
__pItemContextFolder->AddElement(IDA_CONTEXT_ITEM_FOLDER_EDIT, CommonUtil::GetString(L"IDS_BR_SK_EDIT"));
- __pItemContextFolder->SetElementBackgroundColor(IDA_CONTEXT_ITEM_DELETE,LIST_CONTEXT_ITEM_ELEMENT_STATUS_NORMAL , CONTEXT_ITEM_DELETE_COLOR);
- __pItemContextFolder->SetElementBackgroundColor(IDA_CONTEXT_ITEM_DELETE,LIST_CONTEXT_ITEM_ELEMENT_STATUS_HIGHLIGHTED , CONTEXT_ITEM_DELETE_COLOR);
- __pItemContextFolder->SetElementBackgroundColor(IDA_CONTEXT_ITEM_DELETE,LIST_CONTEXT_ITEM_ELEMENT_STATUS_PRESSED , CONTEXT_ITEM_DELETE_COLOR);
__pItemContextFolder->AddElement(IDA_CONTEXT_ITEM_FOLDER_DELETE, CommonUtil::GetString(L"IDS_BR_SK_DELETE_ABB"), true);
+ __pItemContextFolder->SetElementBackgroundColor(IDA_CONTEXT_ITEM_FOLDER_DELETE,LIST_CONTEXT_ITEM_ELEMENT_STATUS_NORMAL , CONTEXT_ITEM_DELETE_COLOR);
+ __pItemContextFolder->SetElementBackgroundColor(IDA_CONTEXT_ITEM_FOLDER_DELETE,LIST_CONTEXT_ITEM_ELEMENT_STATUS_HIGHLIGHTED , CONTEXT_ITEM_DELETE_COLOR);
+ __pItemContextFolder->SetElementBackgroundColor(IDA_CONTEXT_ITEM_FOLDER_DELETE,LIST_CONTEXT_ITEM_ELEMENT_STATUS_PRESSED , CONTEXT_ITEM_DELETE_COLOR);
__pItemContextSite = new(std::nothrow) ListContextItem();
__pItemContextSite->Construct();
return E_FAILURE;
}
+ __pSearchBar->AddFocusEventListener(*this);
if (__pListview != null)
{
+ __pListview->SetBackgroundColor(GetBackgroundColor());
// __pListview->SetBounds(__pListview->GetX(), __pListview->GetY(), GetClientAreaBounds().width, GetClientAreaBounds().height);
__pListview->AddFastScrollListener(*this);
__pListview->AddListViewItemEventListener(*this);
if (__pPopUp != null)
{
__pPopUp->Initialize();
- AddControl(__pPopUp);
+// AddControl(__pPopUp);
}
__pSearchListView = new(std::nothrow) ListView();
else
{
- if(pSceneManager->GoBackward(BackwardSceneTransition())!= E_SUCCESS)
+ if(pSceneManager->GoBackward(BackwardSceneTransition(SCENE_TRANSITION_ANIMATION_TYPE_RIGHT))!= E_SUCCESS)
{
AppLogDebug("BookmarkListForm::OnActionPerformed GoBackward failed");
return;
const int width_Icon = 72 ;
const int x_Margin_Title = 104 ;
const int y_Margin_Title = 10;
- const int width_Title = GetClientAreaBounds().width - 108 - 52 - 30;
+ const int width_Title = GetClientAreaBounds().width - 108 - 52 - 40;
const int x_Margin_Url = 104 ;
const int y_Margin_Url = 70 ;
const int width_Url = GetClientAreaBounds().width - 108 - 52 ;
delete pBitmap;
}
- pItem->AddElement(Rectangle(x_Margin_Title, 26, width_Title, 60 + (__fontSize - 44) ), IDA_FORMAT_FOLDER, pBookMark->GetBookmarkTitle(),__fontSize, CUSTOM_COLOR_TRANSPARENT,CUSTOM_COLOR_TRANSPARENT,CUSTOM_COLOR_TRANSPARENT,true);
+ pItem->AddElement(Rectangle(x_Margin_Title, 26, width_Title, 72 + (__fontSize - 44) ), IDA_FORMAT_FOLDER, pBookMark->GetBookmarkTitle(),__fontSize, CUSTOM_COLOR_TRANSPARENT,CUSTOM_COLOR_TRANSPARENT,CUSTOM_COLOR_TRANSPARENT,true);
if ( __pItemContextFolder != NULL)
{
case IDA_CONTEXT_ITEM_SHARE:
{
AppLogDebug("OnListViewContextItemStateChanged Share");
-
+ if (__pPopUp != null)
+ {
+ delete __pPopUp;
+ __pPopUp = null;
+ }
+ __pPopUp = new(std::nothrow) SharePopup();
+ __pPopUp->Initialize();
BookmarkData* pBookmark = dynamic_cast<BookmarkData*>(__pData->GetAt(index));
if (pBookmark != null)
{
__pPopUp->AddShareInfo(pShareInfo);
}
- if (__pPopUp != null)
- {
- __pPopUp->SetShowState(true);
- __pPopUp->Show();
- }
+ __pPopUp->SetShowState(true);
+ __pPopUp->Show();
+
}
break;
default:
}
void
+BookmarkListForm::OnFocusGained(const Tizen::Ui::Control& source)
+{
+ __pSearchListView->SetEnabled(false);
+}
+
+void
+BookmarkListForm::OnFocusLost(const Tizen::Ui::Control& source)
+{
+ __pSearchListView->SetEnabled(true);
+ __searchBookmark = false;
+}
+
+void
BookmarkListForm::OnSearchBarModeChanged(Tizen::Ui::Controls::SearchBar& source, Tizen::Ui::Controls::SearchBarMode mode)
{
result r = E_FAILURE;
__previousSceneId = previousSceneId;
}*/
+ if (pList)
+ {
+ delete pList;
+ pList = null;
+ }
+
if (__pListview != null)
{
__pListview->UpdateList();