From 7860705c1ca10c91c5a2095ace5de79e36fdecfb Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Sun, 9 Nov 2014 14:32:23 +0000 Subject: [PATCH] Got sharing working, finished lesson 3. --- app/src/main/AndroidManifest.xml | 4 +- .../uk/me/njae/sunshine/DetailActivity.java | 94 ++++++++++++++++++- app/src/main/res/menu/detailfragment.xml | 11 +++ app/src/main/res/menu/forecastfragment.xml | 4 - app/src/main/res/menu/main.xml | 4 + app/src/main/res/values/strings.xml | 5 +- 6 files changed, 108 insertions(+), 14 deletions(-) create mode 100644 app/src/main/res/menu/detailfragment.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 8a7bee9..3958f30 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -10,7 +10,7 @@ android:label="@string/app_name" android:theme="@style/AppTheme" > @@ -19,7 +19,7 @@ + + + diff --git a/app/src/main/res/menu/forecastfragment.xml b/app/src/main/res/menu/forecastfragment.xml index 2b6caaa..48c6795 100644 --- a/app/src/main/res/menu/forecastfragment.xml +++ b/app/src/main/res/menu/forecastfragment.xml @@ -2,10 +2,6 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" tools:context=".MainActivity" > - + Settings Refresh Show location - DetailActivity - - + Weather in detail + Share -- 2.34.1