aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-06-16 08:49:41 +0200
committerBananeweizen <bananeweizen@gmx.de>2012-06-16 08:49:41 +0200
commitca2b81fddcd071be8379c94318979634fb91e054 (patch)
tree23c41a9944076ab7d233df9b8fd0f7c9b9a36a10 /main
parent0878e3da372090ed8efb47cf93113d6afa545086 (diff)
downloadcgeo-ca2b81fddcd071be8379c94318979634fb91e054.zip
cgeo-ca2b81fddcd071be8379c94318979634fb91e054.tar.gz
cgeo-ca2b81fddcd071be8379c94318979634fb91e054.tar.bz2
fix #1788: 2 Links in settings are unclickable
Diffstat (limited to 'main')
-rw-r--r--main/res/layout/init.xml2
-rw-r--r--main/src/cgeo/geocaching/SettingsActivity.java8
2 files changed, 3 insertions, 7 deletions
diff --git a/main/res/layout/init.xml b/main/res/layout/init.xml
index f5dbd2d..6708bcc 100644
--- a/main/res/layout/init.xml
+++ b/main/res/layout/init.xml
@@ -688,6 +688,7 @@
android:textColor="?text_color"
android:textColorLink="?text_color_link"
android:linksClickable="true"
+ android:autoLink="web"
android:text="@string/init_mapsources_description" />
<Spinner android:id="@+id/mapsource"
android:layout_width="fill_parent"
@@ -814,6 +815,7 @@
android:textColor="?text_color"
android:textColorLink="?text_color_link"
android:linksClickable="true"
+ android:autoLink="web"
android:text="@string/init_sendToCgeo_description" />
<Button style="@style/button_full"
android:id="@+id/sendToCgeo_register"
diff --git a/main/src/cgeo/geocaching/SettingsActivity.java b/main/src/cgeo/geocaching/SettingsActivity.java
index cf4a358..d9aaf37 100644
--- a/main/src/cgeo/geocaching/SettingsActivity.java
+++ b/main/src/cgeo/geocaching/SettingsActivity.java
@@ -58,6 +58,7 @@ public class SettingsActivity extends AbstractActivity {
private ProgressDialog loginDialog = null;
private ProgressDialog webDialog = null;
+ private boolean enableTemplatesMenu = false;
private Handler logInHandler = new Handler() {
@Override
@@ -116,7 +117,6 @@ public class SettingsActivity extends AbstractActivity {
init();
}
};
- protected boolean enableTemplatesMenu = false;
public SettingsActivity() {
super("c:geo-configuration");
@@ -136,12 +136,6 @@ public class SettingsActivity extends AbstractActivity {
}
@Override
- public void onResume() {
- super.onResume();
-
- }
-
- @Override
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);