From f8cc67fa598619230187f0cf4b37df8bc4db59c8 Mon Sep 17 00:00:00 2001 From: tokugawa Date: Sat, 26 Apr 2014 02:10:46 -0400 Subject: [PATCH] Minor format changes --- UNCCScavenger/src/edu/uncc/scavenger/FoundActivity.java | 4 ++-- UNCCScavenger/src/edu/uncc/scavenger/MainActivity.java | 1 - UNCCScavenger/src/edu/uncc/scavenger/SearchActivity.java | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/UNCCScavenger/src/edu/uncc/scavenger/FoundActivity.java b/UNCCScavenger/src/edu/uncc/scavenger/FoundActivity.java index 69a4e3a..dc75fe7 100644 --- a/UNCCScavenger/src/edu/uncc/scavenger/FoundActivity.java +++ b/UNCCScavenger/src/edu/uncc/scavenger/FoundActivity.java @@ -11,7 +11,6 @@ import edu.uncc.scavenger.rest.RestLocation; import android.app.Activity; import android.content.Intent; import android.os.Bundle; -import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import android.view.View; @@ -33,11 +32,12 @@ public class FoundActivity extends Activity { super.onCreate(savedInstanceState); setContentView(R.layout.activity_found); - numberFoundText = (TextView)findViewById(R.id.numberFoundText); moreInfoWebView = (WebView)findViewById(R.id.moreInfoWebView); tryMoreButton = (Button)findViewById(R.id.tryMoreButton); + numberFoundText.setVisibility(View.INVISIBLE); + restLocation = (RestLocation)(getIntent().getSerializableExtra("restLocation")); moreInfoWebView.loadData(restLocation.getKey(), "text/html", "UTF-8"); diff --git a/UNCCScavenger/src/edu/uncc/scavenger/MainActivity.java b/UNCCScavenger/src/edu/uncc/scavenger/MainActivity.java index 3245c29..1a3f1d4 100644 --- a/UNCCScavenger/src/edu/uncc/scavenger/MainActivity.java +++ b/UNCCScavenger/src/edu/uncc/scavenger/MainActivity.java @@ -12,7 +12,6 @@ import java.util.List; import android.app.Activity; import android.content.Intent; import android.os.Bundle; -import android.os.StrictMode; import android.util.Log; import android.view.Menu; import android.view.View; diff --git a/UNCCScavenger/src/edu/uncc/scavenger/SearchActivity.java b/UNCCScavenger/src/edu/uncc/scavenger/SearchActivity.java index 3f1056f..584e4f9 100644 --- a/UNCCScavenger/src/edu/uncc/scavenger/SearchActivity.java +++ b/UNCCScavenger/src/edu/uncc/scavenger/SearchActivity.java @@ -8,7 +8,6 @@ package edu.uncc.scavenger; */ import java.net.URL; -import java.util.List; import edu.uncc.scavenger.database.LocationDatabaseHelper; import edu.uncc.scavenger.rest.LocationClient;