diff --git a/app/controllers/home/index.js b/app/controllers/home/index.js index 6b098b4..a5497cc 100644 --- a/app/controllers/home/index.js +++ b/app/controllers/home/index.js @@ -128,13 +128,9 @@ $.refresh.addEventListener('click', function () { $.search.addEventListener('click', function () { $.searchfield.show(); $.searchfield.focus(); - if (OS_ANDROID) { - $.searchfield.height = "20%"; - } $.searchfield.addEventListener('return', function (e) { findmon(e.value, "city"); $.searchfield.hide(); - $.searchfield.height = "10%"; if (OS_ANDROID) { Ti.UI.Android.hideSoftKeyboard(); } diff --git a/app/styles/app.tss b/app/styles/app.tss index 1f266a9..101f32e 100644 --- a/app/styles/app.tss +++ b/app/styles/app.tss @@ -147,9 +147,6 @@ overrode the settings with other TSS, XML, or JS settings: left: "0%" } -"Window": { - backgroundColor: '#FFFFFF', -} ".greycliffbold": { font: { diff --git a/app/styles/home/index.tss b/app/styles/home/index.tss index ca3d3b4..274f71c 100644 --- a/app/styles/home/index.tss +++ b/app/styles/home/index.tss @@ -1,6 +1,7 @@ "Window": { - height: Ti.UI.FILL + height: Ti.UI.FILL, + windowSoftInputMode: Ti.UI.Android.SOFT_INPUT_ADJUST_PAN } "#mapview": { diff --git a/app/styles/index.tss b/app/styles/index.tss index 94b17fd..762436a 100755 --- a/app/styles/index.tss +++ b/app/styles/index.tss @@ -1,6 +1,4 @@ -".container": { - backgroundColor:"white" -} + "#label": { font: { @@ -8,10 +6,6 @@ } } -".container": { -    backgroundColor: "white" -} - -"TabGroup": { +"TabGroup[platform=android]": { theme: "Theme.AppCompat.NoTitleBar" } \ No newline at end of file