Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道我们可以将动态添加的视图保存在任何视图组或布局中吗???如果是那么如何保存?我在视图组中添加了一个图像视图,并想保存整个布局。这可能吗?请帮我。提前致谢。
我想它可能会帮助你..
LinearLayout linear = (LinearLayout)findViewById(R.id.layout1); linear.addView(yourviewid)