Problem Description
Put a scrollView (or tableView) and a normal view in the bottom of a window. Set the windowSoftInputMode:Ti.UI.Android.SOFT_INPUT_STATE_HIDDEN property in the window. Soft keyboard is not covering the normal view when brought on top. Instead, view is pushed up like it is attached to the keyboard.
This behavior it's not present in TiSDK 1.7.6 and 1.8.2
Sample code
var win = Ti.UI.createWindow({
title:'pippo',
backgroundColor:'white',
// windowSoftInputMode:Ti.UI.Android.SOFT_INPUT_STATE_ALWAYS_HIDDEN,
windowSoftInputMode:Ti.UI.Android.SOFT_INPUT_STATE_HIDDEN,
});
var text = Ti.UI.createTextField({
top:10,
height:50,
width:200,
hintText:'click here!'
});
// win.add(text);
var scrollView = Ti.UI.createScrollView({
// top:0,
bottom:100,
// height:450,
backgroundColor:'orange'
});
scrollView.add(text);
win.add(scrollView);
var view1 = Ti.UI.createView({
backgroundColor:'blue',
bottom:0,
height:100,
});
win.add(view1);
win.open();
ING project related issue
Closing as per Federico's comments.
For future reference, please refer to http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html for a comprehensive list with detailed descriptions of these constants.
Closing ticket as invalid with reference to the above comments.