From eace5ead6a9b37ba865fbc0ec014acb9c87b0ad3 Mon Sep 17 00:00:00 2001 From: "gu.martinm@gmail.com" Date: Wed, 3 Sep 2014 20:25:29 +0200 Subject: [PATCH] WeatherInformatio Android: map WIP --- Android/WeatherInformation/AndroidManifest.xml | 2 +- .../WeatherInformation/res/layout/weather_map.xml | 58 ++++- Android/WeatherInformation/res/values/strings.xml | 3 +- .../src/de/example/exampletdd/MapActivity.java | 250 +++++++++++++++++++++ .../de/example/exampletdd/SpecificActivity.java | 4 +- .../exampletdd/WeatherInformationMapActivity.java | 194 ---------------- .../de/example/exampletdd/WeatherTabsActivity.java | 9 +- .../fragment/current/CurrentFragment.java | 3 +- .../fragment/overview/OverviewFragment.java | 3 +- .../example/exampletdd/model/WeatherLocation.java | 91 ++++++++ .../exampletdd/model/WeatherLocationContract.java | 32 +++ .../exampletdd/model/WeatherLocationDbHelper.java | 43 ++++ .../exampletdd/model/WeatherLocationDbQueries.java | 41 ++++ 13 files changed, 521 insertions(+), 212 deletions(-) create mode 100644 Android/WeatherInformation/src/de/example/exampletdd/MapActivity.java delete mode 100644 Android/WeatherInformation/src/de/example/exampletdd/WeatherInformationMapActivity.java create mode 100644 Android/WeatherInformation/src/de/example/exampletdd/model/WeatherLocation.java create mode 100644 Android/WeatherInformation/src/de/example/exampletdd/model/WeatherLocationContract.java create mode 100644 Android/WeatherInformation/src/de/example/exampletdd/model/WeatherLocationDbHelper.java create mode 100644 Android/WeatherInformation/src/de/example/exampletdd/model/WeatherLocationDbQueries.java diff --git a/Android/WeatherInformation/AndroidManifest.xml b/Android/WeatherInformation/AndroidManifest.xml index 7fe4e82..9d74883 100644 --- a/Android/WeatherInformation/AndroidManifest.xml +++ b/Android/WeatherInformation/AndroidManifest.xml @@ -75,7 +75,7 @@ diff --git a/Android/WeatherInformation/res/layout/weather_map.xml b/Android/WeatherInformation/res/layout/weather_map.xml index 32586c4..efffdd9 100644 --- a/Android/WeatherInformation/res/layout/weather_map.xml +++ b/Android/WeatherInformation/res/layout/weather_map.xml @@ -1,29 +1,71 @@ + android:layout_gravity="center" + tools:context="de.example.exampletdd.MapActivity" > + + + + +