aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/VisitCacheActivity.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-04-28 14:18:29 +0200
committerBananeweizen <bananeweizen@gmx.de>2013-05-01 08:51:15 +0200
commit74fce89a36e8d130851145941459966aed1176c3 (patch)
treea5569af3499cc0dee3b3824576b225b0d2849992 /main/src/cgeo/geocaching/VisitCacheActivity.java
parent2f938427afe4b6c5c77f67e78955a53a468c7ceb (diff)
downloadcgeo-74fce89a36e8d130851145941459966aed1176c3.zip
cgeo-74fce89a36e8d130851145941459966aed1176c3.tar.gz
cgeo-74fce89a36e8d130851145941459966aed1176c3.tar.bz2
#2684: use view injection library
* If you have compile errors after pulling, please consult the issue on github.
Diffstat (limited to 'main/src/cgeo/geocaching/VisitCacheActivity.java')
-rw-r--r--main/src/cgeo/geocaching/VisitCacheActivity.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/main/src/cgeo/geocaching/VisitCacheActivity.java b/main/src/cgeo/geocaching/VisitCacheActivity.java
index 74890f4..864ebf8 100644
--- a/main/src/cgeo/geocaching/VisitCacheActivity.java
+++ b/main/src/cgeo/geocaching/VisitCacheActivity.java
@@ -244,11 +244,7 @@ public class VisitCacheActivity extends AbstractLoggingActivity implements DateD
@Override
public void onCreate(final Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
-
- setTheme();
- setContentView(R.layout.visit);
- setTitle(res.getString(R.string.log_new_log));
+ super.onCreate(savedInstanceState, R.layout.visit);
// Get parameters from intent and basic cache information from database
final Bundle extras = getIntent().getExtras();