diff --git a/android/res/xml/prefs_main.xml b/android/res/xml/prefs_main.xml index 62336791ac..4b64e686c9 100644 --- a/android/res/xml/prefs_main.xml +++ b/android/res/xml/prefs_main.xml @@ -166,7 +166,6 @@ android:key="@string/pref_help" android:title="@string/help" android:order="1"> - diff --git a/android/src/com/mapswithme/maps/settings/SettingsPrefsFragment.java b/android/src/com/mapswithme/maps/settings/SettingsPrefsFragment.java index 127f5fe59d..b797564d04 100644 --- a/android/src/com/mapswithme/maps/settings/SettingsPrefsFragment.java +++ b/android/src/com/mapswithme/maps/settings/SettingsPrefsFragment.java @@ -28,6 +28,7 @@ import com.mapswithme.maps.R; import com.mapswithme.maps.downloader.MapManager; import com.mapswithme.maps.downloader.OnmapDownloader; import com.mapswithme.maps.editor.ProfileActivity; +import com.mapswithme.maps.help.HelpActivity; import com.mapswithme.maps.location.LocationHelper; import com.mapswithme.maps.location.LocationProviderFactory; import com.mapswithme.maps.sound.LanguageData; @@ -376,6 +377,10 @@ public class SettingsPrefsFragment extends BaseXmlSettingsFragment { startActivity(new Intent(getActivity(), ProfileActivity.class)); } + else if (preference.getKey() != null && preference.getKey().equals(getString(R.string.pref_help))) + { + startActivity(new Intent(getActivity(), HelpActivity.class)); + } return super.onPreferenceTreeClick(preference); }