如何更改您的android应用程序的背景? [英] how to change the background of your a android application ?
本文介绍了如何更改您的android应用程序的背景?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何更改您的Android应用程序的背景?
how to change the background of your a android pplication ?
推荐答案
如果您要设置背景色,则设置layout属性或直接在xml文件中编写
if you want to set backgroud color then set properties of layout or directly in xml file to write
android:background="#colorcode"
或
如果要设置背景图像,则设置布局属性或直接在xml文件中写入
or
if you want to set backgroud image then set properties of layout or directly in xml file to write
android:background="@drawable/image"
首先要将图像放在res/drawable文件夹中...
where first of all you want to put your image in res/drawable folder...
这篇关于如何更改您的android应用程序的背景?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文