diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2013-05-27 08:07:59 +0200 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2013-05-27 08:07:59 +0200 |
commit | 10220a97faec312192d2aa2a982636dd8df5139b (patch) | |
tree | 5bda583fe1a9bda9982f0e42aa626f5896cd3e3f /main/src | |
parent | 2a2fb3bd94c944cf1c99fab2ce2e666cf317ac46 (diff) | |
download | cgeo-10220a97faec312192d2aa2a982636dd8df5139b.zip cgeo-10220a97faec312192d2aa2a982636dd8df5139b.tar.gz cgeo-10220a97faec312192d2aa2a982636dd8df5139b.tar.bz2 |
refactoring: change some compiler warnings for lint warnings
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/cgeo/geocaching/MainActivity.java | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/main/src/cgeo/geocaching/MainActivity.java b/main/src/cgeo/geocaching/MainActivity.java index 9a8083f..9b23554 100644 --- a/main/src/cgeo/geocaching/MainActivity.java +++ b/main/src/cgeo/geocaching/MainActivity.java @@ -36,6 +36,7 @@ import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; +import android.widget.ImageView; import android.widget.TextView; import java.util.ArrayList; @@ -49,12 +50,12 @@ public class MainActivity extends AbstractActivity { @InjectView(R.id.user_info) protected TextView userInfoView; @InjectView(R.id.nav_satellites) protected TextView navSatellites; @InjectView(R.id.filter_button_title)protected TextView filterTitle; - @InjectView(R.id.map) protected View findOnMap; - @InjectView(R.id.search_offline) protected View findByOffline; - @InjectView(R.id.advanced_button) protected View advanced; - @InjectView(R.id.any_button) protected View any; - @InjectView(R.id.filter_button) protected View filter; - @InjectView(R.id.nearest) protected View nearestView ; + @InjectView(R.id.map) protected ImageView findOnMap; + @InjectView(R.id.search_offline) protected ImageView findByOffline; + @InjectView(R.id.advanced_button) protected ImageView advanced; + @InjectView(R.id.any_button) protected ImageView any; + @InjectView(R.id.filter_button) protected ImageView filter; + @InjectView(R.id.nearest) protected ImageView nearestView; @InjectView(R.id.nav_type) protected TextView navType ; @InjectView(R.id.nav_accuracy) protected TextView navAccuracy ; @InjectView(R.id.nav_location) protected TextView navLocation ; |