aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-01-28 07:10:49 +0100
committerBananeweizen <bananeweizen@gmx.de>2013-01-28 07:10:49 +0100
commit9b382b09a4586022183c749ff603285b6b732711 (patch)
tree9c79eda8d0dc1202a6d7e78c64054acfc8a08245 /main/src
parentaf6345031c90b20f0434992c58827f84de080755 (diff)
downloadcgeo-9b382b09a4586022183c749ff603285b6b732711.zip
cgeo-9b382b09a4586022183c749ff603285b6b732711.tar.gz
cgeo-9b382b09a4586022183c749ff603285b6b732711.tar.bz2
lint cleanups
* unused resources * textIsSelectable
Diffstat (limited to 'main/src')
-rw-r--r--main/src/cgeo/geocaching/ui/CacheDetailsCreator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/ui/CacheDetailsCreator.java b/main/src/cgeo/geocaching/ui/CacheDetailsCreator.java
index 9745d63..e7163fc 100644
--- a/main/src/cgeo/geocaching/ui/CacheDetailsCreator.java
+++ b/main/src/cgeo/geocaching/ui/CacheDetailsCreator.java
@@ -35,7 +35,7 @@ public final class CacheDetailsCreator {
}
public TextView add(final int nameId, final CharSequence value) {
- final RelativeLayout layout = (RelativeLayout) activity.getLayoutInflater().inflate(R.layout.cache_layout, null);
+ final RelativeLayout layout = (RelativeLayout) activity.getLayoutInflater().inflate(R.layout.cache_information_item, null);
final TextView nameView = (TextView) layout.findViewById(R.id.name);
nameView.setText(res.getString(nameId));
lastValueView = (TextView) layout.findViewById(R.id.value);
@@ -49,7 +49,7 @@ public final class CacheDetailsCreator {
}
public RelativeLayout addStars(final int nameId, final float value) {
- final RelativeLayout layout = (RelativeLayout) activity.getLayoutInflater().inflate(R.layout.cache_layout, null);
+ final RelativeLayout layout = (RelativeLayout) activity.getLayoutInflater().inflate(R.layout.cache_information_item, null);
final TextView nameView = (TextView) layout.findViewById(R.id.name);
lastValueView = (TextView) layout.findViewById(R.id.value);
final LinearLayout layoutStars = (LinearLayout) layout.findViewById(R.id.stars);