Y:add some method to resize view
Signed-off-by: yuanzhibiao <yuanzb@ucweb.com>