1、保存view到相册,网上很多。
2、需要将layout_print布局及其子布局都保存到图片中,就是类似长截图的概念。
一开始android:margin="@dime/dp_5"
一保存就发生偏移,试了各种方法,在ScrollView上面也加了居中
但并不好使,后来将margin改为padding,竟然解决。