diff options
author | SammysHP <sven@sammyshp.de> | 2011-11-17 21:06:51 +0100 |
---|---|---|
committer | SammysHP <sven@sammyshp.de> | 2011-11-17 21:08:55 +0100 |
commit | 5f71820f4b031b4c9bba7fb220cea3bdf45e43a0 (patch) | |
tree | fd48f70a1291f1d7a259840f3e30b0489d5d3a5e /main/src/cgeo/geocaching/VisitCacheActivity.java | |
parent | ae3addc34294cb8f2736a395454f451d263a3d52 (diff) | |
download | cgeo-5f71820f4b031b4c9bba7fb220cea3bdf45e43a0.zip cgeo-5f71820f4b031b4c9bba7fb220cea3bdf45e43a0.tar.gz cgeo-5f71820f4b031b4c9bba7fb220cea3bdf45e43a0.tar.bz2 |
Fix #759: Better button for inventory actions
Diffstat (limited to 'main/src/cgeo/geocaching/VisitCacheActivity.java')
-rw-r--r-- | main/src/cgeo/geocaching/VisitCacheActivity.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/VisitCacheActivity.java b/main/src/cgeo/geocaching/VisitCacheActivity.java index 43caa58..fa329a3 100644 --- a/main/src/cgeo/geocaching/VisitCacheActivity.java +++ b/main/src/cgeo/geocaching/VisitCacheActivity.java @@ -109,7 +109,11 @@ public class VisitCacheActivity extends cgLogForm { ((TextView) inventoryItem.findViewById(R.id.trackcode)).setText(tb.trackCode); ((TextView) inventoryItem.findViewById(R.id.name)).setText(tb.name); - ((TextView) inventoryItem.findViewById(R.id.action)).setText(res.getString(Settings.isTrackableAutoVisit() ? LogTypeTrackable.VISITED.resourceId : LogTypeTrackable.DO_NOTHING.resourceId)); + ((TextView) inventoryItem.findViewById(R.id.action)) + .setText(res.getString(Settings.isTrackableAutoVisit() + ? LogTypeTrackable.VISITED.resourceId + : LogTypeTrackable.DO_NOTHING.resourceId) + + " ▼"); inventoryItem.setId(tb.id); final String tbCode = tb.trackCode; @@ -403,7 +407,7 @@ public class VisitCacheActivity extends cgLogForm { if (tbText == null) { return false; } - tbText.setText(res.getString(logType.resourceId)); + tbText.setText(res.getString(logType.resourceId) + " ▼"); } for (cgTrackableLog tb : trackables) { tb.action = logType; @@ -433,7 +437,7 @@ public class VisitCacheActivity extends cgLogForm { tbChanged = true; tb.action = logType; - tbText.setText(res.getString(logType.resourceId)); + tbText.setText(res.getString(logType.resourceId) + " ▼"); Log.i(Settings.tag, "Trackable " + tb.trackCode + " (" + tb.name + ") has new action: #" + id); } |