From b681ab1ef1c53a1a8e1fd8e6e590bb1e2e6fec1c Mon Sep 17 00:00:00 2001 From: vshcherb Date: Wed, 28 May 2014 01:20:17 +0200 Subject: [PATCH] Fix history --- OsmAnd/src/net/osmand/plus/osmo/SettingsOsMoActivity.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/osmo/SettingsOsMoActivity.java b/OsmAnd/src/net/osmand/plus/osmo/SettingsOsMoActivity.java index 648d87249e..c490647bfb 100644 --- a/OsmAnd/src/net/osmand/plus/osmo/SettingsOsMoActivity.java +++ b/OsmAnd/src/net/osmand/plus/osmo/SettingsOsMoActivity.java @@ -17,6 +17,8 @@ import android.os.Bundle; import android.preference.CheckBoxPreference; import android.preference.Preference; import android.preference.PreferenceScreen; +import android.widget.ScrollView; +import android.widget.TextView; import android.widget.Toast; public class SettingsOsMoActivity extends SettingsBaseActivity { @@ -100,7 +102,13 @@ public class SettingsOsMoActivity extends SettingsBaseActivity { bs.append(hs.get(i)).append("\n"); } } + ScrollView sv = new ScrollView(this); + TextView tv = new TextView(this); + sv.addView(tv); + tv.setText(bs.toString()); + bld.setView(sv); bld.setMessage(bs.toString()); + bld.setPositiveButton(R.string.default_buttons_ok, null); bld.show(); return true; } else if(preference == trackerId) {