From d625391d9a1968db1cf82f72c7f83efc564760e7 Mon Sep 17 00:00:00 2001 From: "gu.martinm@gmail.com" Date: Mon, 31 Mar 2014 18:16:01 +0200 Subject: [PATCH] WeatherInformation: working on preferences activity. --- AndroidManifest.xml | 6 ++++-- res/drawable-hdpi/ic_menu_settings_holo_light.png | Bin 0 -> 1227 bytes res/menu/weather_main_menu.xml | 17 +++++++++++++++ res/values-v11/styles.xml | 2 +- res/values-v14/styles.xml | 2 +- res/values/strings.xml | 1 + res/values/styles.xml | 2 +- .../exampletdd/WeatherInformationActivity.java | 23 ++++++++++++++++++--- .../de/example/exampletdd/test/BuildConfig.java | 6 ++++++ tests/gen/de/example/exampletdd/test/R.java | 19 +++++++++++++++++ 10 files changed, 70 insertions(+), 8 deletions(-) create mode 100644 res/drawable-hdpi/ic_menu_settings_holo_light.png create mode 100644 res/menu/weather_main_menu.xml create mode 100644 tests/gen/de/example/exampletdd/test/BuildConfig.java create mode 100644 tests/gen/de/example/exampletdd/test/R.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index c568896..2a24350 100644 --- a/AndroidManifest.xml +++ b/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/res/drawable-hdpi/ic_menu_settings_holo_light.png b/res/drawable-hdpi/ic_menu_settings_holo_light.png new file mode 100644 index 0000000000000000000000000000000000000000..577e055878ed3a3dc2d73018890dbc947925fe8b GIT binary patch literal 1227 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA0wn)(8}a}trX+877l!}s{b%+Ad7K3vk;OpT z1B~5HX4`=T%L*LRfizez!?|}o;S3DSmpxq^Ln02py&l^k7AnF1;r^L7d9#p{vu@x#+V_edH?O7T@uO(N*Mx)WmxlB3gn= zJjJG_rM}wr_S_u3w0k$d$BJH$T_`=j`!LVppa17S|6eo5c+S?%Wp zJtHvX!o~o&7*_~(oO4Hp* z;B-&8sejP-mFLZ*YZA_LC}}*rU6bae=pK~BI+0n;Qe{=!vczQylQKWe)BI)P>B4tY zMU*p0_nT$cfdbB?mFj1&te5;dE9c9Oh%ng|dOY0=oK&u^a*lIV`61C6aHu^|aLUn{ zvl5FO1zf(}?)fM6W`mMOt@n{2^NuA#DMEMuiCmxlykXk%*VQ_r(FvJ5trMdEh1ura zpP;01P+9ZcwWn5&YrB>H6mQzQTt%bWY}(0~$Ccl^zFd9FlVN@HUk1kmm8LTm+@%t0 z`OiA-G#9?TDpr8=>Ox_Yp3Q0fQCUj+KFv8CXYL&KOrhvZh`rY*!SG{CtBg9OS~$~Q z772fgdZ)WGVcl9ak-#UhhR3A>O(m{moa{VsyZA%QjFWMjZ@IYdc_bJukX?46HE*IA zi(}3debep7->!|?qSUI}teg>GYkKXnn1uF^6GGPAp7XhXuinG#akS}n?Q;M93Z}>S z*In1XWbx)zi2qT!ZD&+!vN!r`^i7Odc75x!#YY7<77H$!wRMW+&H6hlB$ia|*4zH5 zK`;BOh~U%LtYVdiG-_T*J}#NHbgRRwt(V2kZmAg?__A|ePMcX7^(895wKl19OT_H6 z-`AYpcvoqDH%sxBofnV(`ja;OZt2u1?g78#JbSk}9JR>VcHx@S*MJknv#+K-64$SA zUcY3;;=SL(*kydPH1&Qh2zuR~ux{$QLwR%WO%yGivOYZOonxom>yn>)Wn?O^En-qM zxu=Wzmd-P$l{_v;?LTU!M2)RH1}e;I=3Ox1%}idzb8<HL$QUFj(SObP`2FZhlH;S|x4`SA|cN0yRj2YzWRzD=AMbN@Z|N$xljE e@XSq2PYp^ + + + + + + diff --git a/res/values-v11/styles.xml b/res/values-v11/styles.xml index 3c02242..4460dcf 100644 --- a/res/values-v11/styles.xml +++ b/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/res/values-v14/styles.xml b/res/values-v14/styles.xml index a91fd03..3e61a52 100644 --- a/res/values-v14/styles.xml +++ b/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/res/values/strings.xml b/res/values/strings.xml index 56a3a09..27fe592 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -22,5 +22,6 @@ Connection error timeout Impossible to receive weather data. Icon weather + Weather Information diff --git a/res/values/styles.xml b/res/values/styles.xml index 6ce89c7..a2374b4 100644 --- a/res/values/styles.xml +++ b/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. --> -