Scrolling an android screen automatically with dynamic addition of widgets -
i want scroll android screen dynamically clicking button. scrollable content added dynamically. screen shot have attached. shown in screen shot want scroll screen "car details" label should @ top of screen.
sv.post(new runnable() { @override public void run() { sv.fullscroll(view.focus_down); vehicle_no.setfocusableintouchmode(true); vehicle_no.requestfocus(); inputmethodmanager imm = (inputmethodmanager) getsystemservice(context.input_method_service); imm.showsoftinput(vehicle_no, inputmethodmanager.show_implicit); } });
this code using scroll screen. it's not solving problem. please suggest me solution problem. thank you. add car details
first add view , call
sv.postdelayed(new runnable() { @override public void run() { code } },500);
Comments
Post a Comment