Android的序列以XML布局 [英] Serialize Android view to xml layout

查看:114
本文介绍了Android的序列以XML布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是很容易创建的XML布局视图

It's quite easy to create view from xml layout

setContentView(R.layout.main);

但问题是如何保存的内容以XML布局?
因此,我可以应用程序正在运行时,把我的UI的快照

But the question is how to save content view to xml layout? So i can take a snapshot of my UI when app is running

推荐答案

您在过去的CAMER选项顶栏启动模拟器并打开设备的属性是存在的,你可以捕捉你布局照片....

you start emulator and open Devices property in top bar in last camer option is there you can capture you layout photo ....

这篇关于Android的序列以XML布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆