在Android应用可重用的UI [英] reusable UI in android app
本文介绍了在Android应用可重用的UI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的Android应用程序的工作,我在想开发可重用的UI界面。如何可以开发并包含在我的.xml的
I am working on android app where I am thinking to develop reusable UI interface. How it can be developed and included in my .xml's
在这里我要发展与我的形象进度条,这将是一些的.xml的显示。
请提供任何code的帮助。
Here I want to develop a progress bar with my image and it will be display on some .xml's. Please provide any code help.
我是一个新的在这个领域。
I am a new in this field.
推荐答案
您可以使用<包括>
您的布局XML中的XML标记
you can use <Include>
xml tag within your layout xml,
阅读:)
http://developer.android.com/resources/articles/layout-tricks -merge.html
这篇关于在Android应用可重用的UI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文