Preparation 2.3 dialog

This commit is contained in:
Victor Shcherb 2015-11-07 19:23:35 +01:00
parent 9ed9def001
commit c376f0600e
3 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:installLocation="auto" android:installLocation="auto"
android:versionName="@string/app_version" android:versionName="@string/app_version"
android:versionCode="211" android:versionCode="231"
package="net.osmand.plus"> package="net.osmand.plus">
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" /> <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?> <?xml version="1.0" encoding="utf-8" standalone="no"?>
<resources> <resources>
<string name="app_name">OsmAnd~</string> <string name="app_name">OsmAnd~</string>
<string name="app_version">2.2.0</string> <string name="app_version">2.3.0</string>
<!-- <!--
Note: For our dev build apk's, the above "app_version" is provided (via osmand/build.xml) as the base version prefix to our build number in the format: Note: For our dev build apk's, the above "app_version" is provided (via osmand/build.xml) as the base version prefix to our build number in the format:
X.X.X#YYYYZ , where X.X.X#YYYYZ , where
@ -11,7 +11,7 @@
--> -->
<!-- Not translatable --> <!-- Not translatable -->
<string name="release_2_2"> <string name="release_2_3">
\u2022 Reworked context-sensitive UI for tapping locations on the map and handling location items on other screens\n\n \u2022 Reworked context-sensitive UI for tapping locations on the map and handling location items on other screens\n\n
\u2022 Chose if primary app control should be Dashboard or Menu based\n\n \u2022 Chose if primary app control should be Dashboard or Menu based\n\n
\u2022 New Wikipedia data, now downloads per country, and with much more complete data\n\n \u2022 New Wikipedia data, now downloads per country, and with much more complete data\n\n

View file

@ -27,7 +27,7 @@ public class WhatsNewDialogFragment extends DialogFragment {
final OsmandApplication osmandApplication = (OsmandApplication) getActivity().getApplication(); final OsmandApplication osmandApplication = (OsmandApplication) getActivity().getApplication();
final String appVersion = Version.getAppVersion(osmandApplication); final String appVersion = Version.getAppVersion(osmandApplication);
builder.setTitle(getString(R.string.whats_new) + " " + appVersion) builder.setTitle(getString(R.string.whats_new) + " " + appVersion)
.setMessage(getString(R.string.release_2_2)) .setMessage(getString(R.string.release_2_3))
.setNegativeButton(R.string.shared_string_close, null); .setNegativeButton(R.string.shared_string_close, null);
if (AppInitializer.LATEST_CHANGES_URL != null) { if (AppInitializer.LATEST_CHANGES_URL != null) {
builder.setPositiveButton(R.string.read_more, new DialogInterface.OnClickListener() { builder.setPositiveButton(R.string.read_more, new DialogInterface.OnClickListener() {