From: gu.martinm@gmail.com Date: Mon, 31 Mar 2014 16:16:01 +0000 (+0200) Subject: WeatherInformation: working on preferences activity. X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=ddd43a2e0d9810bdc233532fea1c84e37a7d0611;p=JavaForFun WeatherInformation: working on preferences activity. --- diff --git a/Android/WeatherInformation/AndroidManifest.xml b/Android/WeatherInformation/AndroidManifest.xml index c568896..2a24350 100644 --- a/Android/WeatherInformation/AndroidManifest.xml +++ b/Android/WeatherInformation/AndroidManifest.xml @@ -16,10 +16,12 @@ android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" - android:theme="@android:style/Theme.Holo" > + android:theme="@style/AppTheme" > + android:uiOptions="splitActionBarWhenNarrow" + android:label="@string/app_name" + android:hardwareAccelerated="false"> diff --git a/Android/WeatherInformation/res/drawable-hdpi/ic_menu_settings_holo_light.png b/Android/WeatherInformation/res/drawable-hdpi/ic_menu_settings_holo_light.png new file mode 100644 index 0000000..577e055 Binary files /dev/null and b/Android/WeatherInformation/res/drawable-hdpi/ic_menu_settings_holo_light.png differ diff --git a/Android/WeatherInformation/res/menu/weather_main_menu.xml b/Android/WeatherInformation/res/menu/weather_main_menu.xml new file mode 100644 index 0000000..de8a451 --- /dev/null +++ b/Android/WeatherInformation/res/menu/weather_main_menu.xml @@ -0,0 +1,17 @@ + + + + + + + diff --git a/Android/WeatherInformation/res/values-v11/styles.xml b/Android/WeatherInformation/res/values-v11/styles.xml index 3c02242..4460dcf 100644 --- a/Android/WeatherInformation/res/values-v11/styles.xml +++ b/Android/WeatherInformation/res/values-v11/styles.xml @@ -4,7 +4,7 @@ Base application theme for API 11+. This theme completely replaces AppBaseTheme from res/values/styles.xml on API 11+ devices. --> - diff --git a/Android/WeatherInformation/res/values-v14/styles.xml b/Android/WeatherInformation/res/values-v14/styles.xml index a91fd03..3e61a52 100644 --- a/Android/WeatherInformation/res/values-v14/styles.xml +++ b/Android/WeatherInformation/res/values-v14/styles.xml @@ -5,7 +5,7 @@ AppBaseTheme from BOTH res/values/styles.xml and res/values-v11/styles.xml on API 14+ devices. --> - diff --git a/Android/WeatherInformation/res/values/strings.xml b/Android/WeatherInformation/res/values/strings.xml index 56a3a09..27fe592 100644 --- a/Android/WeatherInformation/res/values/strings.xml +++ b/Android/WeatherInformation/res/values/strings.xml @@ -22,5 +22,6 @@ Connection error timeout Impossible to receive weather data. Icon weather + Weather Information diff --git a/Android/WeatherInformation/res/values/styles.xml b/Android/WeatherInformation/res/values/styles.xml index 6ce89c7..a2374b4 100644 --- a/Android/WeatherInformation/res/values/styles.xml +++ b/Android/WeatherInformation/res/values/styles.xml @@ -4,7 +4,7 @@ Base application theme, dependent on API level. This theme is replaced by AppBaseTheme from res/values-vXX/styles.xml on newer devices. --> -