From 108419d372774d3f1673b19a4a840f34d9140916 Mon Sep 17 00:00:00 2001 From: GAURAV JAIN Date: Wed, 28 Aug 2013 11:54:31 +0530 Subject: [PATCH] NABI issues N_SE-50115, N_SE-50067, N_SE-49946, N_SE-49897, N_SE-49884, N_SE-48837, N_SE-49596, N_SE-49606, N_SE-49784, N_SE-49787, N_SE-49789, N_SE-49695, N_SE-49670, N_SE-49744, N_SE-49595, N_SE-49551, N_SE-49536, N_SE-49461 resolution Change-Id: Ibe571cc3d4ad5a337b77614b9155424307253931 Signed-off-by: GAURAV JAIN --- inc/StLanguageForm.h | 1 + src/StAppSettingForm.cpp | 2 +- src/StBluetoothForm.cpp | 2 +- src/StCertificateForm.cpp | 2 +- src/StCertificateUserForm.cpp | 2 +- src/StCertificateUserUnInstallForm.cpp | 2 +- src/StDateTimeForm.cpp | 4 ++-- src/StDisplayForm.cpp | 4 ---- src/StDownloadedApplicationForm.cpp | 3 ++- src/StLanguageAndRegionForm.cpp | 11 +++++++---- src/StLanguageForm.cpp | 14 ++++++++++++-- src/StLocationForm.cpp | 2 +- src/StLocationHelpForm.cpp | 5 ----- src/StNfcForm.cpp | 34 +++++++++++++++++++++++++++++++--- src/StResetSettingForm.cpp | 2 +- src/StTimeZoneForm.cpp | 2 +- src/StTypes.cpp | 2 +- src/StWallpaperImageSelectForm.cpp | 2 +- src/StWifiApDetailForm.cpp | 2 +- src/StWifiDirectConnectionForm.cpp | 2 +- src/StWifiDirectForm.cpp | 2 +- src/StWifiForm.cpp | 2 +- 22 files changed, 69 insertions(+), 35 deletions(-) diff --git a/inc/StLanguageForm.h b/inc/StLanguageForm.h index cdd19c0..09068a5 100644 --- a/inc/StLanguageForm.h +++ b/inc/StLanguageForm.h @@ -60,6 +60,7 @@ public: private: Tizen::Base::Collection::ArrayList* __pLanguageDataList; + Tizen::Base::String __previousSelectedLanguage; }; #endif // _ST_LANGUAGE_FORM_H_ \ No newline at end of file diff --git a/src/StAppSettingForm.cpp b/src/StAppSettingForm.cpp index 976ca1e..67c85e6 100644 --- a/src/StAppSettingForm.cpp +++ b/src/StAppSettingForm.cpp @@ -1430,7 +1430,7 @@ AppSettingForm::CreateItem(int groupIndex, int itemIndex, int itemWidth) pItem->SetBackgroundColor(COLOR_BG_GROUP_INDEX_DEFAULT, TABLE_VIEW_ITEM_DRAWING_STATUS_PRESSED); pItem->SetIndividualSelectionEnabled(pEditField, true); - relativeLayout.SetMargin(*pEditField, Y_GROUP_ITEM_DEFAULT, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0); + relativeLayout.SetMargin(*pEditField, Y_GROUP_ITEM_DEFAULT, 0, 0, 0); relativeLayout.SetRelation(*pEditField, pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT); relativeLayout.SetRelation(*pEditField, pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT); } diff --git a/src/StBluetoothForm.cpp b/src/StBluetoothForm.cpp index 956dba0..1ae074c 100644 --- a/src/StBluetoothForm.cpp +++ b/src/StBluetoothForm.cpp @@ -122,7 +122,7 @@ BluetoothForm::CreateFooter(void) result BluetoothForm::OnInitializing(void) { - SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER); + SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER | FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE); CreateHeader(ResourceManager::GetString(L"IDS_ST_BODY_BLUETOOTH")); CreateFooter(); CreateTableView(); diff --git a/src/StCertificateForm.cpp b/src/StCertificateForm.cpp index 3989fa8..1673285 100644 --- a/src/StCertificateForm.cpp +++ b/src/StCertificateForm.cpp @@ -104,7 +104,7 @@ CertificateForm::OnTerminating(void) void CertificateForm::OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs) { - __pTableView->UpdateTableView(); + } void diff --git a/src/StCertificateUserForm.cpp b/src/StCertificateUserForm.cpp index d95e2e4..9cc9239 100644 --- a/src/StCertificateUserForm.cpp +++ b/src/StCertificateUserForm.cpp @@ -93,7 +93,7 @@ CertificateUserForm::CreateFooter(void) result CertificateUserForm::OnInitializing(void) { - SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER); + SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER | FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE); CreateHeader(ResourceManager::GetString(L"IDS_ST_BODY_USER_CERTIFICATES")); CreateFooter(); diff --git a/src/StCertificateUserUnInstallForm.cpp b/src/StCertificateUserUnInstallForm.cpp index f86fe5e..921a4a8 100644 --- a/src/StCertificateUserUnInstallForm.cpp +++ b/src/StCertificateUserUnInstallForm.cpp @@ -79,7 +79,7 @@ CertificateUserUnInstallForm::CreateFooter(void) result CertificateUserUnInstallForm::OnInitializing(void) { - SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER); + SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER | FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE); CreateHeader(ResourceManager::GetString(L"IDS_ST_BODY_USER_CERTIFICATES")); CreateFooter(); CreateTableView(); diff --git a/src/StDateTimeForm.cpp b/src/StDateTimeForm.cpp index bf6680f..a784645 100644 --- a/src/StDateTimeForm.cpp +++ b/src/StDateTimeForm.cpp @@ -104,11 +104,10 @@ DateTimeForm::CreateFooter(void) result DateTimeForm::OnInitializing(void) { + AppLogDebug("ENTER"); CreateHeader(ResourceManager::GetString(L"IDS_ST_BODY_DATE_AND_TIME")); CreateTableView(); - AppLogDebug("ENTER"); - return E_SUCCESS; } @@ -798,6 +797,7 @@ DateTimeForm::OnGroupedTableViewItemStateChanged(Tizen::Ui::Controls::GroupedTab { if (itemIndex == ID_ITEM_DATE_AND_TIME_TIME_ZONE) { + __pTableView->CollapseGroup(ID_GROUP_DATE_AND_TIME_FORMAT_LIST); pSceneManager->GoForward(ForwardSceneTransition(IDSCN_TIME_ZONE, SCENE_TRANSITION_ANIMATION_TYPE_LEFT)); } else if (itemIndex == ID_ITEM_DATE_AND_TIME_DATE_AND_TIME) diff --git a/src/StDisplayForm.cpp b/src/StDisplayForm.cpp index 7806d53..57cf243 100644 --- a/src/StDisplayForm.cpp +++ b/src/StDisplayForm.cpp @@ -115,10 +115,6 @@ DisplayForm::OnTerminating(void) void DisplayForm::OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs) { - if (previousSceneId == IDSCN_FONT) - { - return; - } __pTableView->UpdateTableView(); bool autoRotation = false; diff --git a/src/StDownloadedApplicationForm.cpp b/src/StDownloadedApplicationForm.cpp index a4e8b14..8a39fee 100644 --- a/src/StDownloadedApplicationForm.cpp +++ b/src/StDownloadedApplicationForm.cpp @@ -232,11 +232,12 @@ DownloadedApplicationForm::CreateItem(int groupIndex, int itemIndex, int itemWid pLabel = new (std::nothrow) Label(); pLabel->Construct(itemMainRectangle, itemMainText); pLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT); + pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE); pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL); pLabel->SetTextColor(COLOR_MAIN_TEXT); pItem->AddControl(pLabel); - relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, MAIN_RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0); + relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, 0, 0, 0); relativeLayout.SetRelation(*pLabel, pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT); relativeLayout.SetRelation(*pLabel, pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT); diff --git a/src/StLanguageAndRegionForm.cpp b/src/StLanguageAndRegionForm.cpp index 0235ea2..e108e66 100644 --- a/src/StLanguageAndRegionForm.cpp +++ b/src/StLanguageAndRegionForm.cpp @@ -575,6 +575,7 @@ LocaleForm::OnTerminating(void) void LocaleForm::OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs) { + AppLog("Enter"); Header* pHeader = GetHeader(); pHeader->SetTitleText(ResourceManager::GetString(L"IDS_ST_BODY_LANGUAGE_AND_KEYBOARD")); @@ -1006,7 +1007,6 @@ LocaleForm::OnGroupedTableViewItemStateChanged(Tizen::Ui::Controls::GroupedTable #else if (AppControl::FindAndStart(L"http://tizen.org/appcontrol/operation/setting/ime", null, null, null, null, null) == E_SUCCESS) { - SetFocus(); __isRunningAppControl = true; } #endif @@ -1104,8 +1104,11 @@ LocaleForm::UpdateGroupItem(int groupIndex, Tizen::Ui::Controls::TableViewGroupI pDateFormatter->ApplyPattern("HH:mm"); } } + const wchar_t LRO = 0x202D; //Done changes for Nabi issue 48837 suggested by platform team + const wchar_t LRE = 0x202A; + const wchar_t PDF = 0x202C; pDateFormatter->Format(dateTime, formattedString); - formattedString = timeText + L" : " + formattedString; + formattedString = timeText + L" : " + LRE + formattedString + PDF; groupText.Insert(L"\n" + formattedString, groupText.GetLength()); tmpText.Remove(0, tmpText.GetLength()); @@ -1116,7 +1119,7 @@ LocaleForm::UpdateGroupItem(int groupIndex, Tizen::Ui::Controls::TableViewGroupI formattedString.Remove(0, formattedString.GetLength()); pNumberFormatter->Format(inputNumber, formattedString); - groupText.Insert(L"\n" + numberText + L" : " + formattedString, groupText.GetLength()); + groupText.Insert(L"\n" + numberText + L" : " + LRE + formattedString + PDF, groupText.GetLength()); tmpText.Remove(0, tmpText.GetLength()); tmpText.Insert(formattedString, tmpText.GetLength()); @@ -1127,7 +1130,7 @@ LocaleForm::UpdateGroupItem(int groupIndex, Tizen::Ui::Controls::TableViewGroupI } else { - formattedString = numberText + L" : " + formattedString; + formattedString = numberText + L" : " + LRE + formattedString + PDF; tmpText.Remove(0, tmpText.GetLength()); tmpText.Insert(formattedString, tmpText.GetLength()); tempHeight = GetLineheight(tmpText, labelWidth, fontSize, lineCount, lineHeight); diff --git a/src/StLanguageForm.cpp b/src/StLanguageForm.cpp index a5465fc..14074cb 100644 --- a/src/StLanguageForm.cpp +++ b/src/StLanguageForm.cpp @@ -67,6 +67,7 @@ LocaleLanguageForm::OnInitializing(void) CreateHeader(ResourceManager::GetString(L"IDS_ST_HEADER_DISPLAY_LANGUAGE")); CreateTableView(); + SettingInfo::GetValue(SETTING_INFO_KEY_LOCALE_LANGUAGE, __previousSelectedLanguage); return SettingInfo::AddSettingEventListener(*this); } @@ -284,10 +285,19 @@ LocaleLanguageForm::OnGroupedTableViewItemStateChanged(Tizen::Ui::Controls::Grou } } - if (SettingInfo::SetValue(SETTING_INFO_KEY_LOCALE_LANGUAGE, langCode) != E_SUCCESS) + if(langCode.CompareTo(__previousSelectedLanguage) != 0) { - AppLogDebug("set langCode[%ls] result[%s]", langCode.GetPointer(), GetErrorMessage(GetLastResult())); + if (SettingInfo::SetValue(SETTING_INFO_KEY_LOCALE_LANGUAGE, langCode) != E_SUCCESS) + { + AppLogDebug("set langCode[%ls] result[%s]", langCode.GetPointer(), GetErrorMessage(GetLastResult())); + } + } + else + { + pSceneManager->GoBackward(BackwardSceneTransition(SCENE_TRANSITION_ANIMATION_TYPE_RIGHT), null); } + + __previousSelectedLanguage = langCode; } void diff --git a/src/StLocationForm.cpp b/src/StLocationForm.cpp index a4fe4a4..cffb7d3 100644 --- a/src/StLocationForm.cpp +++ b/src/StLocationForm.cpp @@ -85,7 +85,7 @@ LocationForm::CreateFooter(void) result LocationForm::OnInitializing(void) { - SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER); + SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER | FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE); CreateHeader(ResourceManager::GetString(L"IDS_ST_BODY_LOCATIONS")); CreateFooter(); CreateTableView(); diff --git a/src/StLocationHelpForm.cpp b/src/StLocationHelpForm.cpp index 115b05b..d7eb8b3 100644 --- a/src/StLocationHelpForm.cpp +++ b/src/StLocationHelpForm.cpp @@ -115,11 +115,6 @@ LocationHelpForm::CreateHelpText(const Rectangle& bounds) HelpContentsRect.y = (helpTitleRect.y + helpTitleRect.height); HelpContentsRect.height = GetHeightForStringArea(itemHelp, bounds.width , fontSize) + H_TEXT_GAP; - if ((count == ID_HELP_TEXT_NETWORK_POSITION) && (fontSize > FONT_MAIN_TEXT_SIZE_LARGE)) - { - HelpContentsRect.height = GetHeightForStringArea(itemHelp, bounds.width + W_HUGE_SIZE_PORTRAIT_TEXT_GAP , fontSize) + H_TEXT_GAP; - } - Label* pLabel = new (std::nothrow) Label(); pLabel->Construct(helpTitleRect, itemTitle); pLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT); diff --git a/src/StNfcForm.cpp b/src/StNfcForm.cpp index ee9ab2c..264e6b8 100644 --- a/src/StNfcForm.cpp +++ b/src/StNfcForm.cpp @@ -496,9 +496,9 @@ NfcForm::UpdateGroupItem(int groupIndex, Tizen::Ui::Controls::TableViewGroupItem int fontSize = GetFontSize(); int itemHeight = GetHeightForStringArea(groupText, clientRect.width, fontSize) + H_TEXT_GAP; - itemRect.height = itemHeight + H_GROUP_INDEX_HELP_TEXT_TOP_GAP; + itemRect.height = itemHeight; - pLabel->SetBounds(pLabel->GetX(), pLabel->GetY(), clientRect.width, itemHeight+H_GROUP_INDEX_HELP_TEXT_TOP_GAP); + pLabel->SetBounds(pLabel->GetX(), pLabel->GetY(), clientRect.width, itemHeight); pItem->SetBounds(itemRect); } @@ -531,11 +531,39 @@ NfcForm::OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::Orien void NfcForm::OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs) { + AppLog("Enter"); if (requestId == REFRESH_REQUEST_EVENT) { if (__pTableView) { - __pTableView->RefreshAllItems(); + if (__pNfcPredefinedItemPresentationModelInstance == null) + { + __pNfcPredefinedItemPresentationModelInstance = NfcPredefinedItemPresentationModel::GetInstance(); + } + + if (__pNfcPredefinedItemPresentationModelInstance == null) + { + AppLogDebug("__pNfcPredefinedItemPresentationModelInstance == null"); + return; + } + + if (__pNfcPredefinedItemPresentationModelInstance != null) + { + __pNfcPredefinedItemPresentationModelInstance->InitReservedPushCandidatesList(); + __pResevedPushCandidatesAppidList = __pNfcPredefinedItemPresentationModelInstance->GetAllListReservedPushCandidatesAppIdList(); + if (__pResevedPushCandidatesAppidList != null) + { + if (__pResevedPushCandidatesAppidList->GetCount() > 0) + { + __isPredefinedItem = true; + } + else + { + __isPredefinedItem = false; + } + } + } + __pTableView->UpdateTableView(); bool nfcActivated = false; if (__pNfcPresentationModelInstance != null) { diff --git a/src/StResetSettingForm.cpp b/src/StResetSettingForm.cpp index 7396062..0d3a25d 100644 --- a/src/StResetSettingForm.cpp +++ b/src/StResetSettingForm.cpp @@ -162,7 +162,7 @@ ResetterSettingForm::CreateTableView(void) result ResetterSettingForm::OnInitializing(void) { - SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER); + SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER | FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE); CreateHeader(ResourceManager::GetString(L"IDS_ST_HEADER_RESET_SETTINGS")); CreateFooter(); CreateTableView(); diff --git a/src/StTimeZoneForm.cpp b/src/StTimeZoneForm.cpp index ed4446b..a607c1b 100644 --- a/src/StTimeZoneForm.cpp +++ b/src/StTimeZoneForm.cpp @@ -165,7 +165,7 @@ TimeZoneForm::CreateTableView(void) result TimeZoneForm::OnInitializing(void) { - SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER); + SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER | FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE); Rectangle bounds = GetClientAreaBounds(); Rectangle searchbarBounds = bounds; diff --git a/src/StTypes.cpp b/src/StTypes.cpp index 166d545..14ff15a 100644 --- a/src/StTypes.cpp +++ b/src/StTypes.cpp @@ -97,7 +97,7 @@ const int W_GROUP_INDEX_DEFAULT_LABEL = 720; const int X_GROUP_INDEX_DEFAULT_LABEL = 0; const int Y_GROUP_INDEX_DEFAULT_LABEL = 36; -const int H_GROUP_ITEM_DEFAULT_LABEL = 114; +const int H_GROUP_ITEM_DEFAULT_LABEL = 120; const int W_GROUP_ITEM_DEFAULT_LABEL = 720; const int X_GROUP_ITEM_DEFAULT_LABEL = 16; const int Y_GROUP_ITEM_DEFAULT_LABEL = 0; diff --git a/src/StWallpaperImageSelectForm.cpp b/src/StWallpaperImageSelectForm.cpp index 6a11693..b4ebdaa 100644 --- a/src/StWallpaperImageSelectForm.cpp +++ b/src/StWallpaperImageSelectForm.cpp @@ -88,7 +88,7 @@ WallpaperImageSelectForm::CreateFooter(void) result WallpaperImageSelectForm::OnInitializing(void) { - SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER); + SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER | FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE); CreateFooter(); SetOrientationAutoMode(); return E_SUCCESS; diff --git a/src/StWifiApDetailForm.cpp b/src/StWifiApDetailForm.cpp index 8f7669d..b748dbd 100644 --- a/src/StWifiApDetailForm.cpp +++ b/src/StWifiApDetailForm.cpp @@ -124,7 +124,7 @@ WifiApDetailForm::CreateFooter(void) result WifiApDetailForm::OnInitializing(void) { - SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER); + SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER | FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE); CreateHeader(ResourceManager::GetString(L"IDS_WIFI_HEADER_DETAILS")); CreateTableView(); diff --git a/src/StWifiDirectConnectionForm.cpp b/src/StWifiDirectConnectionForm.cpp index 7f48783..e68dbed 100644 --- a/src/StWifiDirectConnectionForm.cpp +++ b/src/StWifiDirectConnectionForm.cpp @@ -308,7 +308,7 @@ WifiDirectConnectionForm::StopInPorgressAnimation(void) result WifiDirectConnectionForm::OnInitializing(void) { - SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER); + SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER | FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE); CreateHeader(ResourceManager::GetString(L"IDS_WIFI_BUTTON_MULTI_CONNECT")); CreateFooter(); CreateGroupText(); diff --git a/src/StWifiDirectForm.cpp b/src/StWifiDirectForm.cpp index 2c2975c..4bc972d 100644 --- a/src/StWifiDirectForm.cpp +++ b/src/StWifiDirectForm.cpp @@ -161,7 +161,7 @@ WifiDirectForm::SetFooterText(const int actionId, Tizen::Base::String itemText) result WifiDirectForm::OnInitializing(void) { - SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER); + SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER | FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE); CreateHeader(ResourceManager::GetString(L"IDS_ST_HEADER_WI_FI_DIRECT")); CreateFooter(); CreateTableView(); diff --git a/src/StWifiForm.cpp b/src/StWifiForm.cpp index 3883bf2..12776d3 100644 --- a/src/StWifiForm.cpp +++ b/src/StWifiForm.cpp @@ -164,7 +164,7 @@ WifiForm::GetWifiCurrentStatus(void) result WifiForm::OnInitializing(void) { - SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER); + SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER | FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE); CreateHeader(ResourceManager::GetString(L"IDS_ST_BODY_WI_FI")); CreateFooter(); CreateTableView(); -- 2.7.4