add sample2.
support layout rotate and scale.
horizontal layout fix bug.
Signed-off-by: gqjjqg <qijiang.guo@gmail.com>